Home
last modified time | relevance | path

Searched refs:kWavFormatPcm (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/common_audio/
Dwav_header_unittest.cc71 EXPECT_TRUE(CheckWavParameters(1, 8000, kWavFormatPcm, 1, 0)); in TEST()
72 EXPECT_FALSE(CheckWavParameters(0, 8000, kWavFormatPcm, 1, 0)); in TEST()
73 EXPECT_FALSE(CheckWavParameters(0x10000, 8000, kWavFormatPcm, 1, 0)); in TEST()
74 EXPECT_FALSE(CheckWavParameters(1, 0, kWavFormatPcm, 1, 0)); in TEST()
76 EXPECT_FALSE(CheckWavParameters(1, 8000, kWavFormatPcm, 0, 0)); in TEST()
79 EXPECT_TRUE(CheckWavParameters(1, 8000, kWavFormatPcm, 2, 0)); in TEST()
80 EXPECT_FALSE(CheckWavParameters(1, 8000, kWavFormatPcm, 4, 0)); in TEST()
85 EXPECT_FALSE(CheckWavParameters(1 << 20, 1 << 20, kWavFormatPcm, 1, 0)); in TEST()
87 1, 8000, kWavFormatPcm, 1, std::numeric_limits<uint32_t>::max())); in TEST()
90 EXPECT_FALSE(CheckWavParameters(3, 8000, kWavFormatPcm, 1, 5)); in TEST()
[all …]
Dwav_header.h29 kWavFormatPcm = 1, // PCM, each sample of size bytes_per_sample enumerator
Dwav_file.cc26 static const WavFormat kWavFormat = kWavFormatPcm;
Dwav_header.cc85 case kWavFormatPcm: in CheckWavParameters()
/external/webrtc/webrtc/modules/media_file/
Dmedia_file_utility.cc218 if( (_wavFormatObj.formatTag != kWavFormatPcm) && in ReadWavHeader()
247 ((_wavFormatObj.formatTag == kWavFormatPcm) && in ReadWavHeader()
280 case kWavFormatPcm: in InitWavCodec()
690 kWavFormatPcm, 0) == -1) in InitWavWriting()
765 kWavFormatPcm, _bytesWritten); in UpdateWavHeader()