• Jean-Michel Trivi's avatar
    Fix bug 5374629 Can't create AudioPlayer playing from MP2TS ABQ · 779a5337
    Jean-Michel Trivi authored
    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
    779a5337
data.c 34.5 KB