Home
last modified time | relevance | path

Searched refs:samplePerChannel (Results 1 - 4 of 4) sorted by relevance

/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/test/unittest/capturer_test/src/
H A Dinner_capturer_unit_test.cpp118 const int samplePerChannel = cacheBufferSize_ / channels; // 1920 for 20ms in InitBuffer() local
122 for (int idx = 0; idx < samplePerChannel; idx++) { in InitBuffer()
124 samplePerChannel) * (SHRT_MAX - bound)); in InitBuffer()
/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/example/
H A Doh_audio_capturer_lowlatency_test.cpp151 const int samplePerChannel = 96 / channels; // 96 for 1ms in InitSignalBuffer() local
154 for (int idx = 0; idx < samplePerChannel; idx++) { in InitSignalBuffer()
156 samplePerChannel) * (SHRT_MAX - bound)); in InitSignalBuffer()
/foundation/multimedia/audio_framework/services/audio_service/test/example/
H A Daudio_process_client_test.cpp222 const int samplePerChannel = 96 / channels; // 96 for 1ms in InitSignalBuffer() local
225 for (int idx = 0; idx < samplePerChannel; idx++) { in InitSignalBuffer()
227 samplePerChannel) * (SHRT_MAX - bound)); in InitSignalBuffer()
/foundation/multimedia/audio_framework/frameworks/native/audioutils/src/
H A Daudio_utils.cpp986 const int16_t samplePerChannel = SIGNAL_DATA_SIZE / channels; in InitSignalData() local
988 for (int16_t index = 0; index < samplePerChannel; index++) { in InitSignalData()
990 static_cast<float>(M_PI) * index / samplePerChannel) * (SHRT_MAX - SIGNAL_THRESHOLD)); in InitSignalData()

Completed in 8 milliseconds