/frameworks/av/media/libaaudio/src/client/ |
D | AudioEndpoint.cpp | 64 if (descriptor->bytesPerFrame < 1 in AudioEndpoint_validateQueueDescriptor() 65 || descriptor->bytesPerFrame > RIDICULOUSLY_LARGE_FRAME_SIZE) { in AudioEndpoint_validateQueueDescriptor() 67 descriptor->bytesPerFrame); in AudioEndpoint_validateQueueDescriptor() 130 if(descriptor->bytesPerFrame != sizeof(AAudioServiceMessage)) { in configure() 132 descriptor->bytesPerFrame); in configure() 148 descriptor->bytesPerFrame, in configure() 177 descriptor->bytesPerFrame, in configure()
|
D | AudioStreamInternal.cpp | 215 int32_t bytesPerFrame = getSamplesPerFrame() in open() local 217 int32_t callbackBufferSize = mCallbackFrames * bytesPerFrame; in open()
|
/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoBuffer.cpp | 34 FifoBuffer::FifoBuffer(int32_t bytesPerFrame, fifo_frames_t capacityInFrames) in FifoBuffer() argument 36 , mBytesPerFrame(bytesPerFrame) in FifoBuffer() 45 int32_t bytesPerBuffer = bytesPerFrame * capacityInFrames; in FifoBuffer() 49 capacityInFrames, bytesPerFrame); in FifoBuffer() 52 FifoBuffer::FifoBuffer( int32_t bytesPerFrame, in FifoBuffer() argument 59 , mBytesPerFrame(bytesPerFrame) in FifoBuffer()
|
D | FifoBuffer.h | 40 FifoBuffer(int32_t bytesPerFrame, fifo_frames_t capacityInFrames); 42 FifoBuffer(int32_t bytesPerFrame,
|
/frameworks/av/services/oboeservice/ |
D | SharedRingBuffer.cpp | 40 aaudio_result_t SharedRingBuffer::allocate(fifo_frames_t bytesPerFrame, in allocate() argument 45 mDataMemorySizeInBytes = bytesPerFrame * capacityInFrames; in allocate() 79 mFifoBuffer = new FifoBuffer(bytesPerFrame, capacityInFrames, in allocate()
|
D | SharedRingBuffer.h | 45 …aaudio_result_t allocate(android::fifo_frames_t bytesPerFrame, android::fifo_frames_t capacityInFr…
|
D | AAudioServiceEndpointMMAP.cpp | 399 int32_t bytesPerFrame = calculateBytesPerFrame(); in getDownDataDescription() local 400 int32_t capacityInBytes = getBufferCapacity() * bytesPerFrame; in getDownDataDescription() 403 parcelable.mDownDataQueueParcelable.setBytesPerFrame(bytesPerFrame); in getDownDataDescription()
|
/frameworks/av/media/libaaudio/src/binding/ |
D | RingBufferParcelable.cpp | 59 void RingBufferParcelable::setBytesPerFrame(int32_t bytesPerFrame) { in setBytesPerFrame() argument 60 mBytesPerFrame = bytesPerFrame; in setBytesPerFrame() 151 descriptor->bytesPerFrame = mBytesPerFrame; in resolve()
|
D | AAudioServiceDefinitions.h | 73 int32_t bytesPerFrame; // index is in frames member
|
D | RingBufferParcelable.h | 48 void setBytesPerFrame(int32_t bytesPerFrame);
|
/frameworks/av/media/libaaudio/tests/ |
D | test_marshalling.cpp | 118 const size_t bytesPerFrame = 8; in TEST() local 136 ringBufferA.setBytesPerFrame(bytesPerFrame); in TEST() 137 ringBufferA.setCapacityInFrames(dataSizeBytes / bytesPerFrame); in TEST()
|
/frameworks/av/media/libaaudio/src/utility/ |
D | AAudioUtilities.cpp | 603 int32_t bytesPerFrame, in AAudioConvert_framesToBytes() argument 607 if (numFrames < 0 || bytesPerFrame < 0) { in AAudioConvert_framesToBytes() 608 ALOGE("negative size, numFrames = %d, frameSize = %d", numFrames, bytesPerFrame); in AAudioConvert_framesToBytes() 613 if (numFrames > (INT32_MAX / bytesPerFrame)) { in AAudioConvert_framesToBytes() 614 ALOGE("size overflow, numFrames = %d, frameSize = %d", numFrames, bytesPerFrame); in AAudioConvert_framesToBytes() 618 *sizeInBytes = numFrames * bytesPerFrame; in AAudioConvert_framesToBytes()
|
D | AAudioUtilities.h | 207 int32_t bytesPerFrame,
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamTrack.cpp | 383 int32_t bytesPerFrame = getBytesPerFrame(); in write() local 385 aaudio_result_t result = AAudioConvert_framesToBytes(numFrames, bytesPerFrame, &numBytes); in write() 409 int32_t framesWritten = (int32_t)(bytesWritten / bytesPerFrame); in write()
|