OSDN Git Service

Fix bug 5374629 Can't create AudioPlayer playing from MP2TS ABQ
authorJean-Michel Trivi <jmtrivi@google.com>
Fri, 30 Sep 2011 21:32:23 +0000 (14:32 -0700)
committerJean-Michel Trivi <jmtrivi@google.com>
Fri, 30 Sep 2011 22:13:16 +0000 (15:13 -0700)
commitc458b387de35a33eb64c216711da6267dbe2b1a8
treeda4437be686775be3f9d8f771f9744fd054c683d
parent0c7b2300b24cf3f2ee89b3320c8ccd483279bd54
Fix bug 5374629 Can't create AudioPlayer playing from MP2TS ABQ

An AudioPlayer playing audio coming from MP2TS data stored in an
 AndroidBufferQueue couldn't be created and realized anymore due
 to:
  - a regression that prevented an OutputMix to be used as the
    sink of an AudioPlayer that had an ABQ as a data source
  - a missing update when the Realize() method became fully
    locked on the object, android_audioPlayer_realize() was
    still trying to lock the already locked AudioPlayer.
Both issues are covered by a CTS test.

Also verify the SLSeekItf is not required when using an ABQ
 source.

Change-Id: Ibb1b753dcce59b7cf23ba118e287349e00e7fff4
wilhelm/src/android/AudioPlayer_to_android.cpp
wilhelm/src/data.c