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