changeset 3090:29d3abbbe0a2

Use playback_get_playing() for while loop.
author William Pitcock <nenolod@atheme-project.org>
date Mon, 16 Jul 2007 15:52:39 -0500
parents f40b8491a812
children f33329f754b5
files src/audacious/playback.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/playback.c	Mon Jul 16 15:50:32 2007 -0500
+++ b/src/audacious/playback.c	Mon Jul 16 15:52:39 2007 -0500
@@ -232,7 +232,7 @@
 
     hook_call("playback begin", playback->entry);
 
-    while (ip_data.playing == TRUE && playback->eof == FALSE && playback->playing == TRUE)
+    while (playback_get_playing())
     {
         GTimeVal tmwait;
         g_get_current_time(&tmwait);