Searched refs:trackBuffer (Results 1 – 1 of 1) sorted by relevance
163 AudioTrack::Buffer trackBuffer; in fillBuffer() local164 trackBuffer.frameCount = mTrack->frameCount() * 2; in fillBuffer()165 status_t status = mTrack->obtainBuffer(&trackBuffer, 1, &nonContig); in fillBuffer()167 size_t bytesToCopy = std::min(bytesAvailable, trackBuffer.size()); in fillBuffer()169 memcpy(trackBuffer.data(), ipBuffer + mBytesUsedSoFar, bytesToCopy); in fillBuffer()171 mTrack->releaseBuffer(&trackBuffer); in fillBuffer()