changeset 2061:2f62797aba22

more work here
author William Pitcock <nenolod@atheme.org>
date Sun, 14 Oct 2007 03:17:29 -0500
parents 0803fba87da8
children 6fc04f4446e1
files src/cue/cuesheet.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/cue/cuesheet.c	Sun Oct 14 03:14:20 2007 -0500
+++ b/src/cue/cuesheet.c	Sun Oct 14 03:17:29 2007 -0500
@@ -664,7 +664,7 @@
 #ifdef DEBUG
             g_print("cue: next_track: target_time = %d\n", target_time);
 #endif
-            if(cfg.stopaftersong) {
+            if(aud_cfg->stopaftersong) {
                 g_idle_add_full(G_PRIORITY_HIGH, do_stop, (void *)real_ip, NULL);
                 continue;
             }
@@ -684,7 +684,7 @@
 #ifdef DEBUG
                     g_print("i: watchdog eof reached\n\n");
 #endif
-                    if(cfg.repeat) {
+                    if(aud_cfg->repeat) {
                         static gint incr = 0;
                         incr = -pos;
                         g_idle_add_full(G_PRIORITY_HIGH , do_setpos, &incr, NULL);
@@ -696,7 +696,7 @@
                     }
                 }
                 else {
-                    if(cfg.stopaftersong) {
+                    if(aud_cfg->stopaftersong) {
                         g_idle_add_full(G_PRIORITY_HIGH, do_stop, (void *)real_ip, NULL);
                         continue;
                     }