More completely flush WMA decoder state on seek to prevent artifact.
commitbc41926b8f1b77127dd471fc530e9990624d0e36
authorMichael Giacomelli <giac2000@hotmail.com>
Wed, 4 Apr 2012 00:15:16 +0000 (3 20:15 -0400)
committerMichael Giacomelli <giac2000@hotmail.com>
Wed, 4 Apr 2012 00:15:16 +0000 (3 20:15 -0400)
tree6f54d3d1aab602d24ec70bd49ff000073e87c7ea
parent905f920dc9aaed5ad64e2472d080ce1182b980d9
More completely flush WMA decoder state on seek to prevent artifact.

Each MDCT depends on the previous frame for reconstruction.  Previosly these were not zeroed out when seeking, resulting in a few milliseconds of the previous frame playing with the current one.  Fix that.

Additionally, since the codec treats seeks to the start of a track as a "reset", flush the entire codec state in this event to ensure that everything is reset.

Change-Id: If593621a2922b0bbfa34f926f9bff31bee6b8c6a
apps/codecs/wma.c [changed mode: 0644->0755]