summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-04-24 18:56:23 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-04-24 18:56:23 +0000
commit2f215da9c34f71297d2d2690c513fd4255dbaaa8 (patch)
treef52836744792f5ce24d0dfa7cd1586c5fb7e899c /apps
parent2f04e6cca201191b612841dda0218550279b990c (diff)
downloadrockbox-2f215da9c34f71297d2d2690c513fd4255dbaaa8.tar.gz
rockbox-2f215da9c34f71297d2d2690c513fd4255dbaaa8.tar.bz2
rockbox-2f215da9c34f71297d2d2690c513fd4255dbaaa8.zip
Use dedicated function to internally reset aac decoder synthesis after seek.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29775 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/aac.c2
-rw-r--r--apps/codecs/raac.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/codecs/aac.c b/apps/codecs/aac.c
index 8eb2dfd8ce..6fd4e44000 100644
--- a/apps/codecs/aac.c
+++ b/apps/codecs/aac.c
@@ -173,6 +173,7 @@ next_track:
} else {
sound_samples_done = 0;
}
+ NeAACDecPostSeekReset(decoder, i);
} else {
sound_samples_done = 0;
}
@@ -209,6 +210,7 @@ next_track:
lead_trim = ci->id3->lead_trim;
}
}
+ NeAACDecPostSeekReset(decoder, i);
ci->seek_complete();
}
diff --git a/apps/codecs/raac.c b/apps/codecs/raac.c
index 22d4b4b8b5..35cee8eb25 100644
--- a/apps/codecs/raac.c
+++ b/apps/codecs/raac.c
@@ -188,6 +188,7 @@ seek_start:
}
ci->seek_buffer(pkt_offset + rmctx.data_offset + DATA_HEADER_SIZE);
buffer = ci->request_buffer(&n,rmctx.audio_framesize + 1000);
+ NeAACDecPostSeekReset(decoder, i);
ci->seek_complete();
}