Searched refs:actualChannelCount (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
D | write_sine.cpp | 50 int actualChannelCount = 0; in main() local 99 actualChannelCount = AAudioStream_getChannelCount(aaudioStream); in main() 101 requestedChannelCount, actualChannelCount); in main() 134 floatData = new float[framesPerWrite * actualChannelCount]; in main() 136 shortData = new int16_t[framesPerWrite * actualChannelCount]; in main() 160 myData.sineOsc1.render(&floatData[0], actualChannelCount, framesPerWrite); in main() 161 if (actualChannelCount > 1) { in main() 162 myData.sineOsc2.render(&floatData[1], actualChannelCount, framesPerWrite); in main() 166 myData.sineOsc1.render(&shortData[0], actualChannelCount, framesPerWrite); in main() 167 if (actualChannelCount > 1) { in main() [all …]
|
/frameworks/av/media/libaaudio/tests/ |
D | test_open_params.cpp | 67 int32_t actualChannelCount = 0; in testOpenOptions() local 102 actualChannelCount = AAudioStream_getChannelCount(aaudioStream); in testOpenOptions() 107 direction, actualChannelCount, actualSampleRate, actualDataFormat); in testOpenOptions() 111 EXPECT_EQ(channelCount, actualChannelCount); in testOpenOptions()
|