From ebadcc633ae8ad2a6048aff9c815cdb37f012e44 Mon Sep 17 00:00:00 2001 From: Brandon Low Date: Sat, 15 Apr 2006 02:03:11 +0000 Subject: Put new_track on the codec_api, and use it instead of the reload_codec variable in most places. Should help with problems people have had with GUI vs. playback sync. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9670 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/vorbis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/codecs/vorbis.c') diff --git a/apps/codecs/vorbis.c b/apps/codecs/vorbis.c index fb50859..a9a2745 100644 --- a/apps/codecs/vorbis.c +++ b/apps/codecs/vorbis.c @@ -207,7 +207,7 @@ next_track: eof = 0; while (!eof) { rb->yield(); - if (rb->stop_codec || rb->reload_codec) + if (rb->stop_codec || rb->new_track) break; if (rb->seek_time) { -- cgit v1.1