Searched defs:bytesPerFrame (Results 1 - 10 of 10) sorted by relevance
/frameworks/av/services/oboeservice/ |
H A D | SharedRingBuffer.cpp | 45 aaudio_result_t SharedRingBuffer::allocate(fifo_frames_t bytesPerFrame, argument 50 mDataMemorySizeInBytes = bytesPerFrame * capacityInFrames; 84 mFifoBuffer = new FifoBuffer(bytesPerFrame, capacityInFrames,
|
H A D | AAudioServiceStreamMMAP.cpp | 290 int32_t bytesPerFrame = calculateBytesPerFrame(); local 291 int32_t capacityInBytes = mCapacityInFrames * bytesPerFrame; 294 parcelable.mDownDataQueueParcelable.setBytesPerFrame(bytesPerFrame);
|
/frameworks/av/media/libaaudio/src/binding/ |
H A D | AAudioServiceDefinitions.h | 68 int32_t bytesPerFrame; // index is in frames member in struct:aaudio::RingBufferDescriptor_s
|
H A D | RingBufferParcelable.cpp | 58 void RingBufferParcelable::setBytesPerFrame(int32_t bytesPerFrame) { argument 59 mBytesPerFrame = bytesPerFrame; 147 descriptor->bytesPerFrame = mBytesPerFrame;
|
/frameworks/av/media/libaaudio/src/fifo/ |
H A D | FifoBuffer.cpp | 32 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 D | test_marshalling.cpp | 116 const size_t bytesPerFrame = 8; local 134 ringBufferA.setBytesPerFrame(bytesPerFrame); 135 ringBufferA.setCapacityInFrames(dataSizeBytes / bytesPerFrame);
|
/frameworks/av/media/libaaudio/src/legacy/ |
H A D | AudioStreamRecord.cpp | 280 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 D | AudioStreamTrack.cpp | 348 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 D | AAudioUtilities.cpp | 311 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 D | AudioStreamInternal.cpp | 171 int32_t bytesPerFrame = getSamplesPerFrame() local 173 int32_t callbackBufferSize = mCallbackFrames * bytesPerFrame;
|
Completed in 110 milliseconds