/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_various.cpp | 420 int32_t framesPerBurst = 0; in TEST() local 438 framesPerBurst = AAudioStream_getFramesPerBurst(aaudioStream); in TEST() 441 bufferCapacity, bufferCapacity % framesPerBurst); in TEST() 447 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, 2 * framesPerBurst); in TEST() 448 EXPECT_GT(actualSize, framesPerBurst); in TEST() 452 EXPECT_GT(actualSize, framesPerBurst); in TEST() 456 EXPECT_GT(actualSize, framesPerBurst); in TEST() 460 EXPECT_GT(actualSize, framesPerBurst); in TEST() 464 EXPECT_GT(actualSize, framesPerBurst); in TEST() 468 EXPECT_GT(actualSize, framesPerBurst); in TEST()
|
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_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 | 119 const size_t framesPerBurst = 32; in TEST() local 135 ringBufferA.setFramesPerBurst(framesPerBurst); in TEST()
|
/frameworks/av/services/oboeservice/ |
D | AAudioServiceStreamShared.cpp | 74 int32_t framesPerBurst) { in calculateBufferCapacity() argument 86 if ((DEFAULT_BURSTS_PER_BUFFER * framesPerBurst) > MAX_FRAMES_PER_BUFFER) { in calculateBufferCapacity() 87 numBursts = MAX_FRAMES_PER_BUFFER / framesPerBurst; in calculateBufferCapacity() 93 numBursts = (requestedCapacityFrames + framesPerBurst - 1) / framesPerBurst; in calculateBufferCapacity() 101 if (numBursts > 0x8000 || framesPerBurst > 0x8000) { in calculateBufferCapacity() 103 numBursts, framesPerBurst); in calculateBufferCapacity() 106 int32_t capacityInFrames = numBursts * framesPerBurst; in calculateBufferCapacity()
|
D | AAudioMixer.cpp | 40 void AAudioMixer::allocate(int32_t samplesPerFrame, int32_t framesPerBurst) { in allocate() argument 42 mFramesPerBurst = framesPerBurst; in allocate() 43 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 | 30 void allocate(int32_t samplesPerFrame, int32_t framesPerBurst);
|
D | AAudioServiceStreamShared.h | 106 int32_t framesPerBurst);
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioArgsParser.h | 464 int32_t framesPerBurst = AAudioStream_getFramesPerBurst(stream); in compareWithStream() local 465 printf(" Buffer: burst = %d\n", framesPerBurst); in compareWithStream() 468 if (framesPerBurst > 0) { in compareWithStream() 469 int32_t requestedSize = getNumberOfBursts() * framesPerBurst; in compareWithStream() 473 (sizeFrames / framesPerBurst), in compareWithStream() 474 framesPerBurst, in compareWithStream() 475 (sizeFrames % framesPerBurst)); in compareWithStream() 484 (capacityFrames / framesPerBurst), in compareWithStream() 485 framesPerBurst, in compareWithStream() 486 (capacityFrames % framesPerBurst)); in compareWithStream()
|
D | AAudioSimpleRecorder.h | 132 int32_t framesPerBurst = AAudioStream_getFramesPerBurst(mStream); variable 133 AAudioStream_setBufferSizeInFrames(mStream, sizeInBursts * framesPerBurst);
|
D | AAudioSimplePlayer.h | 123 int32_t framesPerBurst = AAudioStream_getFramesPerBurst(mStream); variable 124 int32_t bufferSizeFrames = sizeInBursts * framesPerBurst;
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine.cpp | 45 int32_t framesPerBurst = 0; in main() local 85 framesPerBurst = AAudioStream_getFramesPerBurst(aaudioStream); in main() 86 framesPerWrite = framesPerBurst; in main() 90 printf("Buffer: framesPerBurst = %d\n",framesPerBurst); in main()
|
/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/src/client/ |
D | AudioStreamInternal.cpp | 78 int32_t framesPerBurst; in open() local 180 framesPerHardwareBurst = mEndpointDescriptor.dataQueueDescriptor.framesPerBurst; in open() 185 framesPerBurst = framesPerHardwareBurst; in open() 188 framesPerBurst *= 2; in open() 190 burstMicros = framesPerBurst * static_cast<int64_t>(1000000) / getSampleRate(); in open() 193 __func__, framesPerHardwareBurst, burstMinMicros, framesPerBurst); in open() 196 if (framesPerBurst < MIN_FRAMES_PER_BURST || framesPerBurst > MAX_FRAMES_PER_BURST) { in open() 197 ALOGE("%s - framesPerBurst out of range = %d", __func__, framesPerBurst); in open() 201 mFramesPerBurst = framesPerBurst; // only save good value in open()
|
D | IsochronousClockModel.cpp | 136 void IsochronousClockModel::setFramesPerBurst(int32_t framesPerBurst) { in setFramesPerBurst() argument 137 mFramesPerBurst = framesPerBurst; in setFramesPerBurst()
|
D | IsochronousClockModel.h | 67 void setFramesPerBurst(int32_t framesPerBurst);
|
D | AudioEndpoint.cpp | 157 ALOGV("configure() data framesPerBurst = %d", descriptor->framesPerBurst); in configure()
|
/frameworks/av/media/libaaudio/src/binding/ |
D | RingBufferParcelable.cpp | 67 void RingBufferParcelable::setFramesPerBurst(int32_t framesPerBurst) { in setFramesPerBurst() argument 68 mFramesPerBurst = framesPerBurst; in setFramesPerBurst() 152 descriptor->framesPerBurst = mFramesPerBurst; in resolve()
|
D | AAudioServiceDefinitions.h | 74 int32_t framesPerBurst; // for ISOCHRONOUS queues member
|
D | RingBufferParcelable.h | 52 void setFramesPerBurst(int32_t framesPerBurst);
|