Lines Matching refs:mFrameSize
110 mFrameSize(audio_has_proportional_frames(format) ? in TrackBase()
140 || mFrameSize == 0 // format needs to be correct in TrackBase()
141 || minBufferSize > SIZE_MAX / mFrameSize) { in TrackBase()
145 minBufferSize *= mFrameSize; in TrackBase()
687 mFrameSize, !isExternalTrack(), sampleRate); in Track()
690 mFrameSize, sampleRate); in Track()
963 sourceBuffer.i8, frameCount, mFrameSize); in interceptBuffer()
1906 mClientProxy = new AudioTrackClientProxy(mCblk, mBuffer, mFrameCount, mFrameSize,
1995 memcpy(mOutBuffer.raw, pInBuffer->raw, outFrames * mFrameSize); in write()
2002 pInBuffer->raw = (int8_t *)pInBuffer->raw + outFrames * mFrameSize; in write()
2004 mOutBuffer.raw = (int8_t *)mOutBuffer.raw + outFrames * mFrameSize; in write()
2028 pInBuffer->mBuffer = malloc(inBuffer.frameCount * mFrameSize); in write()
2031 memcpy(pInBuffer->raw, inBuffer.raw, inBuffer.frameCount * mFrameSize); in write()
2124 PatchTrackBase(new ClientProxy(mCblk, mBuffer, frameCount, mFrameSize, true, true),
2373 mFrameSize, !isExternalTrack()); in RecordTrack()
2691 PatchTrackBase(new ClientProxy(mCblk, mBuffer, frameCount, mFrameSize, false, true),
2802 mSinkBuffer(allocAligned(32, mFrameCount * mFrameSize)), in PassthruPatchRecord()
2803 mStubBuffer(allocAligned(32, mFrameCount * mFrameSize)) in PassthruPatchRecord()
2805 memset(mStubBuffer.get(), 0, mFrameCount * mFrameSize); in PassthruPatchRecord()
2845 result = stream->read(mSinkBuffer.get(), framesToRead * mFrameSize, &bytesRead); in obtainBuffer()
2860 mSinkBuffer.get(), bytesRead / mFrameSize, mFrameSize); in obtainBuffer()
2861 ALOGW_IF(buffer->mFrameCount < bytesRead / mFrameSize, in obtainBuffer()
2862 "Lost %zu frames obtained from HAL", bytesRead / mFrameSize - buffer->mFrameCount); in obtainBuffer()
2905 bytes = std::min(bytes, mFrameCount * mFrameSize); in read()
2916 mLastReadFrames = *read / mFrameSize; in read()