Searched defs:bytesPerFrame (Results 1 - 10 of 10) sorted by relevance

/frameworks/av/services/oboeservice/
H A DSharedRingBuffer.cpp45 aaudio_result_t SharedRingBuffer::allocate(fifo_frames_t bytesPerFrame, argument
50 mDataMemorySizeInBytes = bytesPerFrame * capacityInFrames;
84 mFifoBuffer = new FifoBuffer(bytesPerFrame, capacityInFrames,
H A DAAudioServiceStreamMMAP.cpp290 int32_t bytesPerFrame = calculateBytesPerFrame(); local
291 int32_t capacityInBytes = mCapacityInFrames * bytesPerFrame;
294 parcelable.mDownDataQueueParcelable.setBytesPerFrame(bytesPerFrame);
/frameworks/av/media/libaaudio/src/binding/
H A DAAudioServiceDefinitions.h68 int32_t bytesPerFrame; // index is in frames member in struct:aaudio::RingBufferDescriptor_s
H A DRingBufferParcelable.cpp58 void RingBufferParcelable::setBytesPerFrame(int32_t bytesPerFrame) { argument
59 mBytesPerFrame = bytesPerFrame;
147 descriptor->bytesPerFrame = mBytesPerFrame;
/frameworks/av/media/libaaudio/src/fifo/
H A DFifoBuffer.cpp32 FifoBuffer::FifoBuffer(int32_t bytesPerFrame, fifo_frames_t capacityInFrames) argument
34 , mBytesPerFrame(bytesPerFrame)
43 int32_t bytesPerBuffer = bytesPerFrame * capacityInFrames;
46 ALOGD("FifoBuffer: capacityInFrames = %d, bytesPerFrame = %d",
47 capacityInFrames, bytesPerFrame);
50 FifoBuffer::FifoBuffer( int32_t bytesPerFrame, argument
57 , mBytesPerFrame(bytesPerFrame)
/frameworks/av/media/libaaudio/tests/
H A Dtest_marshalling.cpp116 const size_t bytesPerFrame = 8; local
134 ringBufferA.setBytesPerFrame(bytesPerFrame);
135 ringBufferA.setCapacityInFrames(dataSizeBytes / bytesPerFrame);
/frameworks/av/media/libaaudio/src/legacy/
H A DAudioStreamRecord.cpp280 int32_t bytesPerFrame = getBytesPerFrame(); local
282 aaudio_result_t result = AAudioConvert_framesToBytes(numFrames, bytesPerFrame, &numBytes);
305 int32_t framesRead = (int32_t)(bytesRead / bytesPerFrame);
H A DAudioStreamTrack.cpp348 int32_t bytesPerFrame = getBytesPerFrame(); local
350 aaudio_result_t result = AAudioConvert_framesToBytes(numFrames, bytesPerFrame, &numBytes);
374 int32_t framesWritten = (int32_t)(bytesWritten / bytesPerFrame);
/frameworks/av/media/libaaudio/src/utility/
H A DAAudioUtilities.cpp311 int32_t bytesPerFrame,
317 if (bytesPerFrame > maxBytesPerFrame || numFrames > (0x3FFFFFFF / maxBytesPerFrame)) {
318 ALOGE("size overflow, numFrames = %d, frameSize = %zd", numFrames, bytesPerFrame);
321 *sizeInBytes = numFrames * bytesPerFrame;
310 AAudioConvert_framesToBytes(int32_t numFrames, int32_t bytesPerFrame, int32_t *sizeInBytes) argument
/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternal.cpp171 int32_t bytesPerFrame = getSamplesPerFrame() local
173 int32_t callbackBufferSize = mCallbackFrames * bytesPerFrame;

Completed in 110 milliseconds