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/mpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/codecs/mpc.c') diff --git a/apps/codecs/mpc.c b/apps/codecs/mpc.c index 3d3a23e..4201b25 100644 --- a/apps/codecs/mpc.c +++ b/apps/codecs/mpc.c @@ -164,7 +164,7 @@ next_track: ci->seek_complete(); } #endif - if (ci->stop_codec || ci->reload_codec) + if (ci->stop_codec || ci->new_track) break; status = mpc_decoder_decode(&decoder, sample_buffer, NULL, NULL); -- cgit v1.1