Home
last modified time | relevance | path

Searched refs:actualSampleRate (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libaaudio/tests/
Dtest_recovery.cpp38 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()
Dtest_open_params.cpp53 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()
Dtest_timestamps.cpp158 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/
Dinput_monitor.cpp44 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/
Dwrite_sine.cpp41 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/
DAudioStreamRecord.cpp206 int32_t actualSampleRate = mAudioRecord->getSampleRate(); in open() local
207 ALOGW_IF(actualSampleRate != getSampleRate(), in open()
209 getSampleRate(), actualSampleRate); in open()
210 setSampleRate(actualSampleRate); in open()
DAudioStreamTrack.cpp191 int32_t actualSampleRate = mAudioTrack->getSampleRate(); in open() local
192 ALOGW_IF(actualSampleRate != getSampleRate(), in open()
194 getSampleRate(), actualSampleRate); in open()
195 setSampleRate(actualSampleRate); in open()
/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp408 int32_t actualSampleRate = 0; in main() local
529 actualSampleRate = AAudioStream_getSampleRate(outputStream); in main()
530 loopbackData.audioRecording.allocate(recordingDuration * actualSampleRate); in main()
531 loopbackData.audioRecording.setSampleRate(actualSampleRate); in main()