Implement the SLVolumeItf and SLPlayItf on an AudioPlayer's AudioTrack. Iplay.c and IVolume.c are temporarily included in sles.c to circumvent a build issue. Change-Id: I213fc1d681ca2e7ff158aff876faf980a88292b5
diff --git a/IBufferQueue.c b/IBufferQueue.c index 1618812..3b94ee2 100644 --- a/IBufferQueue.c +++ b/IBufferQueue.c
@@ -53,6 +53,10 @@ this->mRear = &this->mArray[0]; this->mSizeConsumed = 0; this->mState.count = 0; +#ifdef USE_ANDROID + // FIXME must flush associated player + fprintf(stderr, "FIXME: IBufferQueue_Clear must flush associated player, not implemented\n"); +#endif interface_unlock_exclusive(this); return SL_RESULT_SUCCESS; }