Searched refs:kNumberOfChannels (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/modules/audio_mixer/ |
D | audio_frame_manipulator_unittest.cc | 34 constexpr int kNumberOfChannels = 2; in TEST() local 38 FillFrameWithConstants(kSamplesPerChannel, kNumberOfChannels, 5, &frame); in TEST() 42 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST() 51 constexpr int kNumberOfChannels = 1; in TEST() local 55 FillFrameWithConstants(kSamplesPerChannel, kNumberOfChannels, 5, &frame); in TEST() 59 const int total_samples = kSamplesPerChannel * kNumberOfChannels; in TEST()
|
D | audio_mixer_impl_unittest.cc | 545 constexpr size_t kNumberOfChannels = 6; in TEST() local 552 frame->num_channels_ = kNumberOfChannels; in TEST() 555 for (size_t i = 0; i < kNumberOfChannels; ++i) { in TEST() 559 mixer->Mix(kNumberOfChannels, &frame_for_mixing); in TEST() 561 EXPECT_EQ(frame_for_mixing.num_channels_, kNumberOfChannels); in TEST() 562 for (size_t i = 0; i < kNumberOfChannels; ++i) { in TEST() 572 constexpr size_t kNumberOfChannels = 6; in TEST() local 579 frame->num_channels_ = kNumberOfChannels; in TEST() 582 for (size_t i = 0; i < kNumberOfChannels; ++i) { in TEST() 589 mixer->Mix(kNumberOfChannels, &frame_for_mixing); in TEST() [all …]
|
/external/webrtc/audio/ |
D | audio_state_unittest.cc | 31 constexpr int kNumberOfChannels = 1; variable 261 audio_frame->num_channels_ = kNumberOfChannels; in TEST() 265 int16_t audio_buffer[kSampleRate / 100 * kNumberOfChannels]; in TEST() 270 kSampleRate / 100, kNumberOfChannels * 2, kNumberOfChannels, in TEST()
|
/external/webrtc/pc/test/ |
D | fake_audio_capture_module.cc | 30 static const uint8_t kNumberOfChannels = 1; variable 507 kNumberOfChannels, kSamplesPerSecond, in ReceiveFrameP() 534 kNumberOfChannels, kSamplesPerSecond, kTotalDelayMs, kClockDriftMs, in SendFrameP()
|