diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-04-19 05:55:54 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-04-19 05:55:54 +0000 |
commit | 2358fabb709bcadd300c46e11e74d48f2b115d8e (patch) | |
tree | 343ac99ac5ffe713319a878ce6fb624973efc7c7 /apps/codecs/libm4a/m4a.h | |
parent | 8d1d2f8982a8c68a7572a82ebc8409e257e77994 (diff) | |
download | rockbox-2358fabb709bcadd300c46e11e74d48f2b115d8e.tar.gz rockbox-2358fabb709bcadd300c46e11e74d48f2b115d8e.zip |
Optimization to latest aac decoder changes. Significantly reduce loop count in m4a_check_sample_offset() during standard playback. Before this change the loop count increased with each decoded chunk and for each frame.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29750 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libm4a/m4a.h')
-rw-r--r-- | apps/codecs/libm4a/m4a.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libm4a/m4a.h b/apps/codecs/libm4a/m4a.h index e49d14b832..da5401dba4 100644 --- a/apps/codecs/libm4a/m4a.h +++ b/apps/codecs/libm4a/m4a.h @@ -137,6 +137,6 @@ unsigned int m4a_seek (demux_res_t* demux_res, stream_t* stream, int* current_sample); unsigned int m4a_seek_raw (demux_res_t* demux_res, stream_t* stream, uint32_t file_loc, uint32_t* sound_samples_done, int* current_sample); -int m4a_check_sample_offset(demux_res_t *demux_res, uint32_t frame); +int m4a_check_sample_offset(demux_res_t *demux_res, uint32_t frame, uint32_t *start); #endif /* STREAM_H */ |