Searched refs:CheckWavParameters (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/common_audio/ |
D | wav_header_unittest.cc | 84 TEST(WavHeaderTest, CheckWavParameters) { in TEST() argument 86 EXPECT_TRUE(CheckWavParameters(1, 8000, WavFormat::kWavFormatPcm, 0)); in TEST() 87 EXPECT_FALSE(CheckWavParameters(0, 8000, WavFormat::kWavFormatPcm, 0)); in TEST() 88 EXPECT_FALSE(CheckWavParameters(0x10000, 8000, WavFormat::kWavFormatPcm, 0)); in TEST() 89 EXPECT_FALSE(CheckWavParameters(1, 0, WavFormat::kWavFormatPcm, 0)); in TEST() 93 CheckWavParameters(1 << 20, 1 << 20, WavFormat::kWavFormatPcm, 0)); in TEST() 94 EXPECT_FALSE(CheckWavParameters(1, 8000, WavFormat::kWavFormatPcm, in TEST() 98 EXPECT_FALSE(CheckWavParameters(3, 8000, WavFormat::kWavFormatPcm, 5)); in TEST()
|
D | wav_header.cc | 287 bool CheckWavParameters(size_t num_channels, in CheckWavParameters() function 345 bool CheckWavParameters(size_t num_channels, in CheckWavParameters() function 349 return CheckWavParameters(num_channels, sample_rate, format, in CheckWavParameters() 363 RTC_CHECK(CheckWavParameters(num_channels, sample_rate, format, in WriteWavHeader() 432 if (!CheckWavParameters(*num_channels, *sample_rate, *format, in ReadWavHeader()
|
D | wav_header.h | 60 bool CheckWavParameters(size_t num_channels,
|
D | wav_file.cc | 206 RTC_CHECK(CheckWavParameters(num_channels_, sample_rate_, format_, in WavWriter()
|