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/a52.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/codecs/a52.c') diff --git a/apps/codecs/a52.c b/apps/codecs/a52.c index 5a55d8b..8ad9d37 100644 --- a/apps/codecs/a52.c +++ b/apps/codecs/a52.c @@ -164,7 +164,7 @@ next_track: /* The main decoding loop */ samplesdone = 0; while (1) { - if (ci->stop_codec || ci->reload_codec) + if (ci->stop_codec || ci->new_track) break; if (ci->seek_time) { -- cgit v1.1