diff src/cue/cuesheet.c @ 2068:c8ba6764985d

use audacious DRCT API here.
author William Pitcock <nenolod@atheme.org>
date Sun, 14 Oct 2007 19:22:54 -0500
parents 2f62797aba22
children 8404e52b00e4
line wrap: on
line diff
--- a/src/cue/cuesheet.c	Sun Oct 14 03:52:36 2007 -0500
+++ b/src/cue/cuesheet.c	Sun Oct 14 19:22:54 2007 -0500
@@ -358,21 +358,13 @@
 #endif
 }
 
-/* not publicly available functions. */
-extern void playback_stop(void);
-extern void mainwin_clear_song_info(void);
-
 static gboolean do_stop(gpointer data)
 {
 #ifdef DEBUG
     g_print("f: do_stop\n");
 #endif
 
-    aud_ip_state->stop = TRUE;
-    playback_stop();
-    aud_ip_state->stop = FALSE;
-
-    mainwin_clear_song_info();
+    audacious_drct_stop();
 
 #ifdef DEBUG
     g_print("e: do_stop\n");