Searched refs:mFrameSize (Results 1 – 2 of 2) sorted by relevance
45 , mFrameSize(util::countChannels(cfg.channelMask) * sizeof(int16_t)) in TinyalsaSink()48 , mRingBuffer(mFrameSize * cfg.frameCount * 3) in TinyalsaSink()94 const size_t waitFrames = getWaitFramesNow(bytesToWrite / mFrameSize); in write()111 std::min(produceChunk.size, bytesToWrite) / mFrameSize; in write()112 const size_t szBytes = szFrames * mFrameSize; in write()126 size_t(1000000 * bytesToWrite / mFrameSize / mSampleRateHz)); in write()130 framesLost += bytesLost / mFrameSize; in write()135 std::min(produceChunk.size, bytesToWrite) / mFrameSize; in write()136 const size_t szBytes = szFrames * mFrameSize; in write()156 std::vector<uint8_t> writeBuffer(mWriteSizeFrames * mFrameSize); in consumeThread()[all …]
48 , mFrameSize(util::countChannels(cfg.channelMask) * sizeof(int16_t)) in TinyalsaSource()51 , mRingBuffer(mFrameSize * cfg.frameCount * 3) in TinyalsaSource()96 const size_t waitFrames = getWaitFramesNow(bytesToRead / mFrameSize); in read()122 mSentFrames += writeBufSzBytes / mFrameSize; in read()127 size_t(1000000 * bytesToRead / mFrameSize / mSampleRateHz)); in read()133 std::min(bytesToRead, sizeof(zeroes)) / mFrameSize; in read()134 const size_t nZeroBytes = nZeroFrames * mFrameSize; in read()149 std::vector<uint8_t> readBuf(mReadSizeFrames * mFrameSize); in producerThread()153 mFramesLost += bytesLost / mFrameSize; in producerThread()200 const unsigned mFrameSize; member