Home
last modified time | relevance | path

Searched refs:actualChannelCount (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine.cpp40 int32_t actualChannelCount = 0; in main() local
78 actualChannelCount = AAudioStream_getChannelCount(aaudioStream); in main()
98 floatData = new float[framesPerWrite * actualChannelCount]; in main()
101 shortData = new int16_t[framesPerWrite * actualChannelCount]; in main()
104 byteData = new uint8_t[framesPerWrite * actualChannelCount in main()
108 int32Data = new int32_t[framesPerWrite * actualChannelCount]; in main()
132 numActiveOscillators = (actualChannelCount > MAX_CHANNELS) ? MAX_CHANNELS : actualChannelCount; in main()
138 myData.sineOscillators[i].render(&floatData[i], actualChannelCount, in main()
144 myData.sineOscillators[i].render(&shortData[i], actualChannelCount, in main()
150 myData.sineOscillators[i].render(&int32Data[i], actualChannelCount, in main()
[all …]
/frameworks/av/media/libaaudio/tests/
Dtest_recovery.cpp37 int32_t actualChannelCount = 0; in main() local
72 actualChannelCount = AAudioStream_getChannelCount(aaudioStream); in main()
76 actualChannelCount, actualSampleRate, actualDataFormat); in main()
85 int samplesPerBurst = framesPerBurst * actualChannelCount; in main()
Dtest_open_params.cpp52 int32_t actualChannelCount = 0; in testOpenOptions() local
86 actualChannelCount = AAudioStream_getChannelCount(aaudioStream); in testOpenOptions()
91 direction, actualChannelCount, actualSampleRate, actualDataFormat); in testOpenOptions()
95 EXPECT_EQ(channelCount, actualChannelCount); in testOpenOptions()
Dtest_timestamps.cpp157 int32_t actualChannelCount = 0; in testTimeStamps() local
206 actualChannelCount = AAudioStream_getChannelCount(aaudioStream); in testTimeStamps()
225 actualChannelCount, actualSampleRate, actualDataFormat); in testTimeStamps()
/frameworks/av/media/libaaudio/fuzzer/
Dlibaaudio_fuzzer.cpp236 int32_t actualChannelCount = AAudioStream_getChannelCount(mAaudioStream); in process() local
242 std::vector<int16_t> inputShortData(maxFrames * actualChannelCount, 0x0); in process()
251 std::vector<float> inputFloatData(maxFrames * actualChannelCount, 0x0); in process()