/frameworks/av/media/libaaudio/src/client/ |
D | AudioEndpoint.cpp | 57 if (descriptor->bytesPerFrame < 1 in AudioEndpoint_validateQueueDescriptor() 58 || descriptor->bytesPerFrame > RIDICULOUSLY_LARGE_FRAME_SIZE) { in AudioEndpoint_validateQueueDescriptor() 60 descriptor->bytesPerFrame); in AudioEndpoint_validateQueueDescriptor() 123 if(descriptor->bytesPerFrame != sizeof(AAudioServiceMessage)) { in configure() 125 descriptor->bytesPerFrame); in configure() 141 descriptor->bytesPerFrame, in configure() 170 descriptor->bytesPerFrame, in configure()
|
/frameworks/av/media/libaaudio/src/fifo/ |
D | FifoBuffer.cpp | 36 FifoBuffer::FifoBuffer(int32_t bytesPerFrame, fifo_frames_t capacityInFrames) in FifoBuffer() argument 37 : mBytesPerFrame(bytesPerFrame) in FifoBuffer() 41 int32_t bytesPerBuffer = bytesPerFrame * capacityInFrames; in FifoBuffer() 45 __func__, capacityInFrames, bytesPerFrame); in FifoBuffer() 48 FifoBuffer::FifoBuffer( int32_t bytesPerFrame, in FifoBuffer() argument 54 : mBytesPerFrame(bytesPerFrame) in FifoBuffer()
|
D | FifoBuffer.h | 41 FifoBuffer(int32_t bytesPerFrame, fifo_frames_t capacityInFrames); 43 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 | 374 int32_t bytesPerFrame = calculateBytesPerFrame(); in getDownDataDescription() local 375 int32_t capacityInBytes = getBufferCapacity() * bytesPerFrame; in getDownDataDescription() 378 parcelable.mDownDataQueueParcelable.setBytesPerFrame(bytesPerFrame); in getDownDataDescription()
|
/frameworks/av/media/libaaudio/src/utility/ |
D | AAudioUtilities.cpp | 247 int32_t bytesPerFrame, in AAudioConvert_framesToBytes() argument 251 if (numFrames < 0 || bytesPerFrame < 0) { in AAudioConvert_framesToBytes() 252 ALOGE("negative size, numFrames = %d, frameSize = %d", numFrames, bytesPerFrame); in AAudioConvert_framesToBytes() 257 if (numFrames > (INT32_MAX / bytesPerFrame)) { in AAudioConvert_framesToBytes() 258 ALOGE("size overflow, numFrames = %d, frameSize = %d", numFrames, bytesPerFrame); in AAudioConvert_framesToBytes() 262 *sizeInBytes = numFrames * bytesPerFrame; in AAudioConvert_framesToBytes()
|
D | AAudioUtilities.h | 57 int32_t bytesPerFrame,
|
/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/legacy/ |
D | AudioStreamTrack.cpp | 418 int32_t bytesPerFrame = getBytesPerFrame(); in write() local 420 aaudio_result_t result = AAudioConvert_framesToBytes(numFrames, bytesPerFrame, &numBytes); in write() 444 int32_t framesWritten = (int32_t)(bytesWritten / bytesPerFrame); in write()
|
/frameworks/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 510 const size_t bytesPerFrame = (mBitsPerSample >> 3) * mNumChannels; in read() local 511 const size_t numFrames = n / bytesPerFrame; in read()
|