comparison src/wav/wav.c @ 373:4a19cfbfb3d9 trunk

[svn] - extension-assist for wav files
author nenolod
date Tue, 12 Dec 2006 19:43:58 -0800
parents c812e846b84e
children b211dcbec13f
comparison
equal deleted inserted replaced
372:a157306caf03 373:4a19cfbfb3d9
27 27
28 #include <audacious/util.h> 28 #include <audacious/util.h>
29 #include <audacious/titlestring.h> 29 #include <audacious/titlestring.h>
30 #include "audacious/output.h" 30 #include "audacious/output.h"
31 31
32 gchar *wav_fmts[] = { "wav", "raw", "pcm", NULL };
32 33
33 InputPlugin wav_ip = { 34 InputPlugin wav_ip = {
34 NULL, 35 NULL,
35 NULL, 36 NULL,
36 NULL, /* Description */ 37 NULL, /* Description */
53 NULL, 54 NULL,
54 NULL, 55 NULL,
55 get_song_info, 56 get_song_info,
56 NULL, /* file_info_box */ 57 NULL, /* file_info_box */
57 NULL, 58 NULL,
58 { "wav", "raw", "pcm", NULL }, 59 wav_fmts,
59 }; 60 };
60 61
61 WaveFile *wav_file = NULL; 62 WaveFile *wav_file = NULL;
62 static GThread *decode_thread; 63 static GThread *decode_thread;
63 static gboolean audio_error = FALSE; 64 static gboolean audio_error = FALSE;