changeset 2068:c8ba6764985d

use audacious DRCT API here.
author William Pitcock <nenolod@atheme.org>
date Sun, 14 Oct 2007 19:22:54 -0500
parents 755b62131d7a
children c89c180e66ac
files src/cue/cuesheet.c
diffstat 1 files changed, 1 insertions(+), 9 deletions(-) [+]
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");