comparison src/alac/plugin.c @ 2085:319930001524

Automated merge with ssh://hg.atheme.org//hg/audacious-plugins
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 17 Oct 2007 23:09:54 +0300
parents 1428a79d6706
children ed6c81bd9016
comparison
equal deleted inserted replaced
2084:371d9450c631 2085:319930001524
62 static int going = 0; 62 static int going = 0;
63 static int seek_to = -1; 63 static int seek_to = -1;
64 64
65 extern void set_endian(); 65 extern void set_endian();
66 66
67 /*
68 static gchar *
69 extname(const char *filename)
70 {
71 gchar *ext = strrchr(filename, '.');
72
73 if (ext != NULL)
74 ++ext;
75
76 return ext;
77 }
78 */
79
80 static void alac_about(void) 67 static void alac_about(void)
81 { 68 {
82 static GtkWidget *aboutbox; 69 static GtkWidget *aboutbox;
83 70
84 if(aboutbox != NULL) 71 if(aboutbox != NULL)
188 175
189 static void stop(InputPlayback * data) 176 static void stop(InputPlayback * data)
190 { 177 {
191 going = 0; 178 going = 0;
192 g_thread_join(playback_thread); 179 g_thread_join(playback_thread);
193 output_close_audio(); 180 data->output->close_audio();
194 } 181 }
195 182
196 static void do_pause(InputPlayback *data, short paused) 183 static void do_pause(InputPlayback *data, short paused)
197 { 184 {
198 output_pause(paused); 185 data->output->pause(paused);
199 } 186 }
200 187
201 static void seek(InputPlayback * data, gint time) 188 static void seek(InputPlayback * data, gint time)
202 { 189 {
203 seek_to = time; 190 seek_to = time;