Searched refs:mSonicStream (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libaudioprocessing/ |
D | BufferProviders.cpp | 443 mSonicStream(sonicCreateStream(sampleRate, mChannelCount)), in TimestretchBufferProvider() 447 LOG_ALWAYS_FATAL_IF(mSonicStream == NULL, in TimestretchBufferProvider() 460 sonicDestroyStream(mSonicStream); in ~TimestretchBufferProvider() 583 sonicSetSpeed(mSonicStream, mPlaybackRate.mSpeed); in setPlaybackRate() 641 if (sonicWriteFloatToStream(mSonicStream, (float*)srcBuffer, *srcFrames) != 1) { in processFrames() 645 *dstFrames = sonicReadFloatFromStream(mSonicStream, (float*)dstBuffer, *dstFrames); in processFrames() 648 if (sonicWriteShortToStream(mSonicStream, (short*)srcBuffer, *srcFrames) != 1) { in processFrames() 652 *dstFrames = sonicReadShortFromStream(mSonicStream, (short*)dstBuffer, *dstFrames); in processFrames()
|
/frameworks/av/media/libaudioprocessing/include/media/ |
D | BufferProviders.h | 238 sonicStream mSonicStream; // handle to sonic timestretch object variable
|