commit | 14f8940472217e8b0164d8f213679710d623d528 | [log] [tgz] |
---|---|---|
author | Dave Sparks <davidsparks@android.com> | Wed Dec 09 20:20:26 2009 -0800 |
committer | Dave Sparks <davidsparks@android.com> | Wed Dec 09 20:36:31 2009 -0800 |
tree | 64434e0d6949d3545490e90f0fb37bb0165971a3 | |
parent | d3cfb1bd84affbf740256f5e9804c93ef7722b37 [diff] |
Fix media player decode function. Bug 2317821. There was a recent change to OpenCORE that broke the MediaPlayer::decode() function for all OpenCORE supported formats (MP3, AAC, and AMR-NB/WB). The affect is that SoundPool is unreliable for all of these formats. This patch changes the logic in the AudioCache object that processes messages from the media player. The old logic was fragile. This change should make it more robust against changes.