diff options
Diffstat (limited to 'apps/codecs/a52.c')
| -rw-r--r-- | apps/codecs/a52.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/codecs/a52.c b/apps/codecs/a52.c index 8ad9d37..71e0fda 100644 --- a/apps/codecs/a52.c +++ b/apps/codecs/a52.c @@ -141,7 +141,6 @@ enum codec_status codec_start(struct codec_api *api) ci->memset(iedata, 0, iend - iedata); #endif - ci->configure(CODEC_DSP_ENABLE, (bool *)true); ci->configure(DSP_DITHER, (bool *)false); ci->configure(DSP_SET_STEREO_MODE, (long *)STEREO_NONINTERLEAVED); ci->configure(DSP_SET_SAMPLE_DEPTH, (long *)28); @@ -185,9 +184,11 @@ next_track: a52_decode_data(filebuf, filebuf + n); ci->advance_buffer(n); } + retval = CODEC_OK; + if (ci->request_next_track()) goto next_track; - retval = CODEC_OK; + exit: a52_free(state); return retval; |