Lines Matching refs:mSinkBuffer

1796         mNormalFrameCount(0), mSinkBuffer(NULL),  in PlaybackThread()
1879 free(mSinkBuffer); in ~PlaybackThread()
1978 dprintf(fd, " Sink buffer : %p\n", mSinkBuffer); in dumpInternals_l()
2756 free(mSinkBuffer); in readOutputParameters_l()
2757 mSinkBuffer = NULL; in readOutputParameters_l()
2761 (void)posix_memalign(&mSinkBuffer, 32, sinkBufferSize); in readOutputParameters_l()
2992 ssize_t framesWritten = mNormalSink->write((char *)mSinkBuffer + offset, count); in threadLoop_write()
2997 mTee.write((char *)mSinkBuffer + offset, framesWritten); in threadLoop_write()
3016 bytesWritten = mOutput->write((char *)mSinkBuffer + offset, mBytesRemaining); in threadLoop_write()
3129 mEffectBufferEnabled ? mEffectBuffer : mSinkBuffer, in addEffectChain_l()
3228 track->setMainBuffer(reinterpret_cast<effect_buffer_t*>(mSinkBuffer)); in removeEffectChain_l()
3670 void *buffer = mEffectBufferValid ? mEffectBuffer : mSinkBuffer; in threadLoop()
3763 memcpy_by_audio_format(mSinkBuffer, mFormat, mEffectBuffer, mEffectBufferFormat, in threadLoop()
3768 adjust_channels_non_destructive(mSinkBuffer, mChannelCount, mSinkBuffer, in threadLoop()
4274 free(mSinkBuffer); in MixerThread()
4277 (void)posix_memalign(&mSinkBuffer, 32, sinkBufferSize); in MixerThread()
4445 mOutput->write((char *)mSinkBuffer, 0); in threadLoop_write()
4617 memset(mSinkBuffer, 0, mSinkBufferSize); in threadLoop_sleepTime()
4978 if (track->mainBuffer() != mSinkBuffer && in prepareTracks_l()
5140 && (track->mainBuffer() == mSinkBuffer in prepareTracks_l()
5343 memset(mSinkBuffer, 0, mNormalFrameCount * mFrameSize); in prepareTracks_l()
5840 int8_t *curBuf = (int8_t *)mSinkBuffer; in threadLoop_mix()
5858 mCurrentWriteLength = curBuf - (int8_t *)mSinkBuffer; in threadLoop_mix()
5878 memset(mSinkBuffer, 0, mFrameCount * mFrameSize); in threadLoop_sleepTime()
6495 memset(mSinkBuffer, 0, mSinkBufferSize); in threadLoop_mix()
6515 memset(mSinkBuffer, 0, mSinkBufferSize); in threadLoop_sleepTime()
6527 const ssize_t actualWritten = outputTracks[i]->write(mSinkBuffer, writeFrames); in threadLoop_write()