Home
last modified time | relevance | path

Searched refs:kSamplesPerChannel (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/common_audio/
Daudio_util_unittest.cc109 const size_t kSamplesPerChannel = 4; in TEST() local
111 const size_t kLength = kSamplesPerChannel * kNumChannels; in TEST()
112 int16_t left[kSamplesPerChannel], right[kSamplesPerChannel]; in TEST()
114 Deinterleave(kInterleaved, kSamplesPerChannel, kNumChannels, deinterleaved); in TEST()
117 ExpectArraysEq(kRefLeft, left, kSamplesPerChannel); in TEST()
118 ExpectArraysEq(kRefRight, right, kSamplesPerChannel); in TEST()
121 Interleave(deinterleaved, kSamplesPerChannel, kNumChannels, interleaved); in TEST()
127 const size_t kSamplesPerChannel = 5; in TEST() local
129 int16_t mono[kSamplesPerChannel]; in TEST()
131 Deinterleave(kInterleaved, kSamplesPerChannel, kNumChannels, deinterleaved); in TEST()
[all …]
/external/webrtc/webrtc/modules/audio_processing/agc/
Dagc_manager_direct_unittest.cc34 const int kSamplesPerChannel = kSampleRateHz / 100; variable
84 manager_.Process(nullptr, kSamplesPerChannel, kSampleRateHz); in CallProcess()
90 manager_.AnalyzePreProcess(nullptr, kNumChannels, kSamplesPerChannel); in CallPreProc()
340 manager_.Process(nullptr, kSamplesPerChannel, kSampleRateHz); in TEST_F()
/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_processing_unittest.cc1297 const size_t kSamplesPerChannel = in TEST_F() local
1313 ChannelBuffer<float> src_buf(kSamplesPerChannel, kNumInputChannels); in TEST_F()
1314 ChannelBuffer<float> dest_buf(kSamplesPerChannel, kNumOutputChannels); in TEST_F()
1315 const size_t max_length = kSamplesPerChannel * std::max(kNumInputChannels, in TEST_F()
1334 for (size_t k = 0; k < kSamplesPerChannel; ++k) { in TEST_F()
1359 for (size_t k = 0; k < kSamplesPerChannel; ++k) { in TEST_F()