Searched refs:kWavFormatPcm (Results 1 – 5 of 5) sorted by relevance
/external/webrtc/webrtc/common_audio/ |
D | wav_header_unittest.cc | 71 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 …]
|
D | wav_header.h | 29 kWavFormatPcm = 1, // PCM, each sample of size bytes_per_sample enumerator
|
D | wav_file.cc | 26 static const WavFormat kWavFormat = kWavFormatPcm;
|
D | wav_header.cc | 85 case kWavFormatPcm: in CheckWavParameters()
|
/external/webrtc/webrtc/modules/media_file/ |
D | media_file_utility.cc | 218 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()
|