diff options
author | Brandon Low <lostlogic@rockbox.org> | 2006-04-15 02:03:11 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2006-04-15 02:03:11 +0000 |
commit | ebadcc633ae8ad2a6048aff9c815cdb37f012e44 (patch) | |
tree | 2749a0dccbec61669b99d83867b7cf18c661f3e0 /apps/codecs/flac.c | |
parent | ae33f37678311c5d6893aa526fad947bce912eff (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.c | 2 |
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; } |