Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DBufferProviders.cpp333 mSonicStream(sonicCreateStream(sampleRate, mChannelCount)), in TimestretchBufferProvider()
337 LOG_ALWAYS_FATAL_IF(mSonicStream == NULL, in TimestretchBufferProvider()
350 sonicDestroyStream(mSonicStream); in ~TimestretchBufferProvider()
463 sonicSetSpeed(mSonicStream, mPlaybackRate.mSpeed); in setPlaybackRate()
521 if (sonicWriteFloatToStream(mSonicStream, (float*)srcBuffer, *srcFrames) != 1) { in processFrames()
525 *dstFrames = sonicReadFloatFromStream(mSonicStream, (float*)dstBuffer, *dstFrames); in processFrames()
528 if (sonicWriteShortToStream(mSonicStream, (short*)srcBuffer, *srcFrames) != 1) { in processFrames()
532 *dstFrames = sonicReadShortFromStream(mSonicStream, (short*)dstBuffer, *dstFrames); in processFrames()
DBufferProviders.h188 sonicStream mSonicStream; // handle to sonic timestretch object variable