Home
last modified time | relevance | path

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

/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine.cpp52 int actualSampleRate = 0; in main() local
93 actualSampleRate = AAudioStream_getSampleRate(aaudioStream); in main()
94 printf("SampleRate: requested = %d, actual = %d\n", requestedSampleRate, actualSampleRate); in main()
96 myData.sineOsc1.setup(440.0, actualSampleRate); in main()
97 myData.sineOsc2.setup(660.0, actualSampleRate); in main()
154 framesToPlay = actualSampleRate * NUM_SECONDS; in main()
/frameworks/av/media/libaaudio/tests/
Dtest_open_params.cpp68 int32_t actualSampleRate = 0; in testOpenOptions() local
101 actualSampleRate = AAudioStream_getSampleRate(aaudioStream); in testOpenOptions()
107 direction, actualChannelCount, actualSampleRate, actualDataFormat); in testOpenOptions()
114 EXPECT_EQ(sampleRate, actualSampleRate); in testOpenOptions()
/frameworks/av/media/libaaudio/examples/input_monitor/src/
Dinput_monitor.cpp41 int actualSampleRate; in main() local
84 actualSampleRate = AAudioStream_getSampleRate(aaudioStream); in main()
85 printf("SamplesPerFrame = %d\n", actualSampleRate); in main()
132 framesToRecord = actualSampleRate * NUM_SECONDS; in main()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp137 int32_t actualSampleRate = mAudioRecord->getSampleRate(); in open() local
138 ALOGW_IF(actualSampleRate != getSampleRate(), in open()
140 getSampleRate(), actualSampleRate); in open()
141 setSampleRate(actualSampleRate); in open()
DAudioStreamTrack.cpp155 int32_t actualSampleRate = mAudioTrack->getSampleRate(); in open() local
156 ALOGW_IF(actualSampleRate != getSampleRate(), in open()
158 getSampleRate(), actualSampleRate); in open()
159 setSampleRate(actualSampleRate); in open()
/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp341 int actualSampleRate = 0; in main() local
442 actualSampleRate = AAudioStream_getSampleRate(outputStream); in main()
443 printf(" sampleRate: requested = %d, actual = %d\n", requestedSampleRate, actualSampleRate); in main()
510 printf("measured latency = %8.2f msec <===== !!\n", (1000.0 * latency / actualSampleRate)); in main()