changeset 2058:fffa7e3d39e0

use aud_ip_state (replacement to ip_data).
author William Pitcock <nenolod@atheme.org>
date Sat, 13 Oct 2007 23:44:59 -0500
parents cf4fa45ffd80
children 70b1f1fc4804
files src/aosd/aosd_trigger.c src/cue/cuesheet.c src/song_change/song_change.c
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/aosd/aosd_trigger.c	Sat Oct 13 23:09:40 2007 -0500
+++ b/src/aosd/aosd_trigger.c	Sat Oct 13 23:44:59 2007 -0500
@@ -247,7 +247,7 @@
 static void
 aosd_trigger_func_pb_titlechange_cb ( gpointer plentry_gp , gpointer prevs_gp )
 {
-  if ( ip_data.playing )
+  if ( aud_ip_state->playing )
   {
     aosd_pb_titlechange_prevs_t *prevs = prevs_gp;
     PlaylistEntry *pl_entry = plentry_gp;
--- a/src/cue/cuesheet.c	Sat Oct 13 23:09:40 2007 -0500
+++ b/src/cue/cuesheet.c	Sat Oct 13 23:44:59 2007 -0500
@@ -368,9 +368,9 @@
     g_print("f: do_stop\n");
 #endif
 
-    ip_data.stop = TRUE;
+    aud_ip_state->stop = TRUE;
     playback_stop();
-    ip_data.stop = FALSE;
+    aud_ip_state->stop = FALSE;
 
     mainwin_clear_song_info();
 
--- a/src/song_change/song_change.c	Sat Oct 13 23:09:40 2007 -0500
+++ b/src/song_change/song_change.c	Sat Oct 13 23:44:59 2007 -0500
@@ -495,7 +495,7 @@
 static void
 songchange_playback_ttc(gpointer plentry_gp, gpointer prevs_gp)
 {
-  if ( ( ip_data.playing ) && ( strcmp(cmd_line_ttc,"") ) )
+  if ( ( aud_ip_state->playing ) && ( strcmp(cmd_line_ttc,"") ) )
   {
     songchange_playback_ttc_prevs_t *prevs = prevs_gp;
     PlaylistEntry *pl_entry = plentry_gp;