Searched refs:actualSampleRate (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/media/libaaudio/tests/ |
D | test_recovery.cpp | 38 int32_t actualSampleRate = 0; in main() local 71 actualSampleRate = AAudioStream_getSampleRate(aaudioStream); in main() 76 actualChannelCount, actualSampleRate, actualDataFormat); in main() 96 int32_t framesMax = actualSampleRate * 20; in main() 98 int64_t printAt = actualSampleRate; in main() 115 printAt += actualSampleRate; in main()
|
D | test_open_params.cpp | 53 int32_t actualSampleRate = 0; in testOpenOptions() local 85 actualSampleRate = AAudioStream_getSampleRate(aaudioStream); in testOpenOptions() 91 direction, actualChannelCount, actualSampleRate, actualDataFormat); in testOpenOptions() 98 EXPECT_EQ(sampleRate, actualSampleRate); in testOpenOptions()
|
D | test_timestamps.cpp | 158 int32_t actualSampleRate = 0; in testTimeStamps() local 205 actualSampleRate = AAudioStream_getSampleRate(aaudioStream); in testTimeStamps() 225 actualChannelCount, actualSampleRate, actualDataFormat); in testTimeStamps() 312 actualSampleRate); in testTimeStamps()
|
/frameworks/av/media/libaaudio/examples/input_monitor/src/ |
D | input_monitor.cpp | 44 int32_t actualSampleRate; in main() local 82 actualSampleRate = AAudioStream_getSampleRate(aaudioStream); in main() 83 printf("SamplesPerFrame = %d\n", actualSampleRate); in main() 124 framesToRecord = actualSampleRate * argParser.getDurationSeconds(); in main() 179 actualSampleRate); in main()
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine.cpp | 41 int32_t actualSampleRate = 0; in main() local 77 actualSampleRate = AAudioStream_getSampleRate(aaudioStream); in main() 80 myData.sampleRate = actualSampleRate; in main() 118 framesToPlay = actualSampleRate * argParser.getDurationSeconds(); in main()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 214 int32_t actualSampleRate = mAudioRecord->getSampleRate(); in open() local 215 ALOGW_IF(actualSampleRate != getSampleRate(), in open() 217 getSampleRate(), actualSampleRate); in open() 218 setSampleRate(actualSampleRate); in open()
|
D | AudioStreamTrack.cpp | 197 int32_t actualSampleRate = mAudioTrack->getSampleRate(); in open() local 198 ALOGW_IF(actualSampleRate != getSampleRate(), in open() 200 getSampleRate(), actualSampleRate); in open() 201 setSampleRate(actualSampleRate); in open()
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | loopback.cpp | 430 int32_t actualSampleRate = 0; in main() local 551 actualSampleRate = AAudioStream_getSampleRate(outputStream); in main() 552 loopbackData.audioRecording.allocate(recordingDuration * actualSampleRate); in main() 553 loopbackData.audioRecording.setSampleRate(actualSampleRate); in main()
|