summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
authorMohamed Tarek <mt@rockbox.org>2010-02-16 03:34:39 +0000
committerMohamed Tarek <mt@rockbox.org>2010-02-16 03:34:39 +0000
commit82f05895af2e361b983aa782e4294a641b287429 (patch)
treee2c6dd216900418ca41d3d4a6c19e460a666543e /apps/codecs
parentfd5f8f987396a63ff75b5322e922a9dcfd2b229b (diff)
Initial support for ATRAC3 streams in wav containers.
Current state : - Playback and seeking are possible. - We now support ATRAC3 in any of its possible containers (wav/at3, oma/aa3, and rm/ra). TODO : - Fix joint-stereo decoding for ATRAC3 - the decoder currently produces lots of glitches. - Rename atrac3_oma.c since it works for both oma and wav containers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24689 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/atrac3_oma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/codecs/atrac3_oma.c b/apps/codecs/atrac3_oma.c
index 55299007d7..df3499913c 100644
--- a/apps/codecs/atrac3_oma.c
+++ b/apps/codecs/atrac3_oma.c
@@ -75,6 +75,7 @@ next_track:
frame_counter = 0;
ci->set_elapsed(0);
+ ci->seek_buffer(0);
ci->advance_buffer(ci->id3->first_frame_offset);
/* The main decoder loop */