Home
last modified time | relevance | path

Searched refs:mSonicStream (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp436 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/
DBufferProviders.h233 sonicStream mSonicStream; // handle to sonic timestretch object variable