comparison src/cue/cuesheet.c @ 251:0469aa4ae1ec trunk

[svn] - make pause do something. closes #636
author nenolod
date Fri, 17 Nov 2006 20:18:21 -0800
parents e5d78e44971f
children 1bf162c7b4b9
comparison
equal deleted inserted replaced
250:1bded2e3d57b 251:0469aa4ae1ec
34 static void play(gchar *uri); 34 static void play(gchar *uri);
35 static void play_cue_uri(gchar *uri); 35 static void play_cue_uri(gchar *uri);
36 static gint get_time(void); 36 static gint get_time(void);
37 static void seek(gint time); 37 static void seek(gint time);
38 static void stop(void); 38 static void stop(void);
39 static void cue_pause(short);
39 static TitleInput *get_tuple(gchar *uri); 40 static TitleInput *get_tuple(gchar *uri);
40 static TitleInput *get_tuple_uri(gchar *uri); 41 static TitleInput *get_tuple_uri(gchar *uri);
41 static void get_song_info(gchar *uri, gchar **title, gint *length); 42 static void get_song_info(gchar *uri, gchar **title, gint *length);
42 43
43 static gint watchdog_func(gpointer unused); 44 static gint watchdog_func(gpointer unused);
67 NULL, /* configure */ 68 NULL, /* configure */
68 is_our_file, 69 is_our_file,
69 NULL, /* audio cd */ 70 NULL, /* audio cd */
70 play, 71 play,
71 stop, 72 stop,
72 NULL, 73 cue_pause,
73 seek, 74 seek,
74 NULL, /* set eq */ 75 NULL, /* set eq */
75 get_time, 76 get_time,
76 NULL, 77 NULL,
77 NULL, 78 NULL,
241 if (real_ip != NULL) { 242 if (real_ip != NULL) {
242 real_ip->set_info = cue_ip.set_info; 243 real_ip->set_info = cue_ip.set_info;
243 real_ip->output = NULL; 244 real_ip->output = NULL;
244 real_ip = NULL; 245 real_ip = NULL;
245 } 246 }
247 }
248
249 static void cue_pause(short p)
250 {
251 if (real_ip != NULL)
252 real_ip->pause(p);
246 } 253 }
247 254
248 static void set_info_override(gchar * unused, gint length, gint rate, gint freq, gint nch) 255 static void set_info_override(gchar * unused, gint length, gint rate, gint freq, gint nch)
249 { 256 {
250 gchar *title; 257 gchar *title;