/frameworks/av/media/libaaudio/tests/ |
D | test_recovery.cpp | 34 int32_t framesPerBurst = 0; in main() local 80 framesPerBurst = AAudioStream_getFramesPerBurst(aaudioStream); in main() 83 bufferCapacity, framesPerBurst); in main() 85 int samplesPerBurst = framesPerBurst * actualChannelCount; in main() 101 buffer, framesPerBurst, in main() 108 } else if (framesWritten != framesPerBurst) { in main()
|
D | test_open_params.cpp | 50 int32_t framesPerBurst = 0; in testOpenOptions() local 107 framesPerBurst = AAudioStream_getFramesPerBurst(aaudioStream); in testOpenOptions() 110 bufferCapacity, bufferCapacity % framesPerBurst); in testOpenOptions()
|
D | test_bad_disconnect.cpp | 60 int32_t framesPerBurst = 0; in s_StartAudio() local 93 framesPerBurst = AAudioStream_getFramesPerBurst(s_AudioEngine.stream); in s_StartAudio() 95 printf("-------- started: deviceId = %3d, framesPerBurst = %3d\n", deviceId, framesPerBurst); in s_StartAudio()
|
D | test_various.cpp | 651 int32_t framesPerBurst = 0; in TEST() local 669 framesPerBurst = AAudioStream_getFramesPerBurst(aaudioStream); in TEST() 672 bufferCapacity, bufferCapacity % framesPerBurst); in TEST() 678 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, 2 * framesPerBurst); in TEST() 679 EXPECT_GT(actualSize, framesPerBurst); in TEST() 683 EXPECT_GT(actualSize, framesPerBurst); in TEST() 687 EXPECT_GT(actualSize, framesPerBurst); in TEST() 691 EXPECT_GT(actualSize, framesPerBurst); in TEST() 695 EXPECT_GT(actualSize, framesPerBurst); in TEST() 699 EXPECT_GT(actualSize, framesPerBurst); in TEST()
|
D | test_timestamps.cpp | 156 int32_t framesPerBurst = 0; in testTimeStamps() local 231 framesPerBurst = AAudioStream_getFramesPerBurst(aaudioStream); in testTimeStamps() 232 printf(" framesPerBurst = %3d\n", framesPerBurst); in testTimeStamps() 235 requestedBufferSize = 4 * framesPerBurst; in testTimeStamps()
|
D | test_return_stop.cpp | 231 int32_t framesPerBurst = AAudioStream_getFramesPerBurst(engine.stream); in main() local 233 … const int32_t bufferSize = AAudioStream_setBufferSizeInFrames(engine.stream, 2 * framesPerBurst); in main() 244 deviceId, framesPerBurst, actualPerfMode); in main()
|
D | test_marshalling.cpp | 139 const size_t framesPerBurst = 32; in TEST() local 155 ringBufferA.setFramesPerBurst(framesPerBurst); in TEST()
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceStreamShared.cpp | 79 int32_t framesPerBurst) { in calculateBufferCapacity() argument 91 if ((DEFAULT_BURSTS_PER_BUFFER * framesPerBurst) > MAX_FRAMES_PER_BUFFER) { in calculateBufferCapacity() 92 numBursts = MAX_FRAMES_PER_BUFFER / framesPerBurst; in calculateBufferCapacity() 98 numBursts = (requestedCapacityFrames + framesPerBurst - 1) / framesPerBurst; in calculateBufferCapacity() 106 if (numBursts > 0x8000 || framesPerBurst > 0x8000) { in calculateBufferCapacity() 108 numBursts, framesPerBurst); in calculateBufferCapacity() 111 int32_t capacityInFrames = numBursts * framesPerBurst; in calculateBufferCapacity()
|
D | AAudioMixer.cpp | 36 void AAudioMixer::allocate(int32_t samplesPerFrame, int32_t framesPerBurst) { in allocate() argument 38 mFramesPerBurst = framesPerBurst; in allocate() 39 int32_t samplesPerBuffer = samplesPerFrame * framesPerBurst; in allocate()
|
D | TimestampScheduler.h | 51 void setBurstPeriod(int32_t framesPerBurst, in setBurstPeriod() argument 53 mBurstPeriod = AAUDIO_NANOS_PER_SECOND * framesPerBurst / sampleRate; in setBurstPeriod()
|
D | AAudioMixer.h | 29 void allocate(int32_t samplesPerFrame, int32_t framesPerBurst);
|
D | AAudioServiceStreamShared.h | 106 int32_t framesPerBurst);
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioArgsParser.h | 509 int32_t framesPerBurst = AAudioStream_getFramesPerBurst(stream); in compareWithStream() local 510 printf(" Buffer: burst = %d\n", framesPerBurst); in compareWithStream() 513 if (framesPerBurst > 0) { in compareWithStream() 514 int32_t requestedSize = getNumberOfBursts() * framesPerBurst; in compareWithStream() 518 (sizeFrames / framesPerBurst), in compareWithStream() 519 framesPerBurst, in compareWithStream() 520 (sizeFrames % framesPerBurst)); in compareWithStream() 529 (capacityFrames / framesPerBurst), in compareWithStream() 530 framesPerBurst, in compareWithStream() 531 (capacityFrames % framesPerBurst)); in compareWithStream()
|
D | AAudioSimpleRecorder.h | 132 int32_t framesPerBurst = AAudioStream_getFramesPerBurst(mStream); variable 133 AAudioStream_setBufferSizeInFrames(mStream, sizeInBursts * framesPerBurst);
|
D | AAudioSimplePlayer.h | 148 int32_t framesPerBurst = AAudioStream_getFramesPerBurst(mStream); variable 149 int32_t bufferSizeFrames = sizeInBursts * framesPerBurst;
|
/frameworks/av/media/libaaudio/src/binding/ |
D | RingBufferParcelable.cpp | 38 mFramesPerBurst(parcelable.framesPerBurst), in RingBufferParcelable() 51 result.framesPerBurst = mFramesPerBurst; in parcelable() 92 void RingBufferParcelable::setFramesPerBurst(int32_t framesPerBurst) { in setFramesPerBurst() argument 93 mFramesPerBurst = framesPerBurst; in setFramesPerBurst() 125 descriptor->framesPerBurst = mFramesPerBurst; in resolve()
|
D | AAudioServiceDefinitions.h | 74 int32_t framesPerBurst; // for ISOCHRONOUS queues member
|
D | RingBufferParcelable.h | 55 void setFramesPerBurst(int32_t framesPerBurst);
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
D | input_monitor.cpp | 45 int32_t framesPerBurst = 0; in main() local 87 framesPerBurst = AAudioStream_getFramesPerBurst(aaudioStream); in main() 88 printf("DataFormat: framesPerBurst = %d\n",framesPerBurst); in main() 92 framesPerRead = framesPerBurst; in main()
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine.cpp | 45 int32_t framesPerBurst = 0; in main() local 87 framesPerBurst = AAudioStream_getFramesPerBurst(aaudioStream); in main() 88 framesPerWrite = framesPerBurst; in main() 92 printf("Buffer: framesPerBurst = %d\n",framesPerBurst); in main()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.cpp | 227 int32_t framesPerHardwareBurst = mEndpointDescriptor.dataQueueDescriptor.framesPerBurst; in configureDataInformation() 232 int32_t framesPerBurst = framesPerHardwareBurst; in configureDataInformation() local 237 framesPerBurst *= 2; in configureDataInformation() 239 burstMicros = framesPerBurst * static_cast<int64_t>(1000000) / getSampleRate(); in configureDataInformation() 242 __func__, framesPerHardwareBurst, burstMinMicros, framesPerBurst); in configureDataInformation() 245 if (framesPerBurst < MIN_FRAMES_PER_BURST || framesPerBurst > MAX_FRAMES_PER_BURST) { in configureDataInformation() 246 ALOGE("%s - framesPerBurst out of range = %d", __func__, framesPerBurst); in configureDataInformation() 249 setFramesPerBurst(framesPerBurst); // only save good value in configureDataInformation()
|
D | IsochronousClockModel.cpp | 197 void IsochronousClockModel::setFramesPerBurst(int32_t framesPerBurst) { in setFramesPerBurst() argument 198 mFramesPerBurst = framesPerBurst; in setFramesPerBurst()
|
D | IsochronousClockModel.h | 71 void setFramesPerBurst(int32_t framesPerBurst);
|
/frameworks/av/media/libaaudio/src/binding/aidl/aaudio/ |
D | RingBuffer.aidl | 26 int framesPerBurst; // for ISOCHRONOUS queues
|
/frameworks/av/media/libaaudio/fuzzer/ |
D | libaaudio_fuzzer.cpp | 203 int32_t framesPerBurst = AAudioStream_getFramesPerBurst(mAaudioStream); in process() local 205 int32_t maxFrames = numberOfBursts * framesPerBurst; in process() 207 fdp.ConsumeIntegral<uint16_t>() * framesPerBurst; in process()
|