summaryrefslogtreecommitdiff
path: root/apps/codecs/flac.c
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-04-15 02:03:11 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-04-15 02:03:11 +0000
commitebadcc633ae8ad2a6048aff9c815cdb37f012e44 (patch)
tree2749a0dccbec61669b99d83867b7cf18c661f3e0 /apps/codecs/flac.c
parentae33f37678311c5d6893aa526fad947bce912eff (diff)
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
Diffstat (limited to 'apps/codecs/flac.c')
-rw-r--r--apps/codecs/flac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/flac.c b/apps/codecs/flac.c
index 2eec4da47d..cc2ce636ab 100644
--- a/apps/codecs/flac.c
+++ b/apps/codecs/flac.c
@@ -275,7 +275,7 @@ enum codec_status codec_start(struct codec_api* api)
buf = ci->request_buffer(&bytesleft, MAX_FRAMESIZE);
while (bytesleft) {
ci->yield();
- if (ci->stop_codec || ci->reload_codec) {
+ if (ci->stop_codec || ci->new_track) {
break;
}