mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-01-22 01:30:35 -05:00
Correctly re-initialize wma decoder on next track. This fixes strange observed issues (noise, crashes) which only could be solved through re-entering the wma codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29202 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4e74494d57
commit
7e63bfd2ab
1 changed files with 2 additions and 0 deletions
|
|
@ -46,6 +46,8 @@ enum codec_status codec_main(void)
|
|||
ci->configure(DSP_SET_SAMPLE_DEPTH, 29);
|
||||
|
||||
next_track:
|
||||
/* Proper reset of the decoder context. */
|
||||
memset(&wmadec, 0, sizeof(wmadec));
|
||||
|
||||
/* Wait for the metadata to be read */
|
||||
while (!*ci->taginfo_ready && !ci->stop_codec)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue