Searched refs:kWavHeaderSize (Results 1 – 6 of 6) sorted by relevance
/external/webrtc/webrtc/common_audio/ |
D | wav_header.cc | 58 static_assert(sizeof(WavHeader) == kWavHeaderSize, "no padding in header"); 101 const size_t header_size = kWavHeaderSize - sizeof(ChunkHeader); in CheckWavParameters() 135 bytes_in_payload + kWavHeaderSize - sizeof(ChunkHeader)); in RiffChunkSize() 180 memcpy(buf, &header, kWavHeaderSize); in WriteWavHeader() 190 if (readable->Read(&header, kWavHeaderSize - sizeof(header.data)) != in ReadWavHeader() 191 kWavHeaderSize - sizeof(header.data)) in ReadWavHeader()
|
D | wav_file.cc | 113 static const uint8_t blank_header[kWavHeaderSize] = {0}; in WavWriter() 114 RTC_CHECK_EQ(1u, fwrite(blank_header, kWavHeaderSize, 1, file_handle_)); in WavWriter() 144 uint8_t header[kWavHeaderSize]; in Close() 147 RTC_CHECK_EQ(1u, fwrite(header, kWavHeaderSize, 1, file_handle_)); in Close()
|
D | wav_file_unittest.cc | 68 kWavHeaderSize + kNumSamples * sizeof(int16_t) + sizeof(kMetadata); in TEST() 124 kWavHeaderSize + kNumSamples * sizeof(int16_t); in TEST() 159 EXPECT_EQ(sizeof(int16_t) * kNumSamples + kWavHeaderSize, in TEST()
|
D | wav_header_unittest.cc | 42 if (size_ >= kWavHeaderSize) in Read() 247 static const int kSize = 4 + kWavHeaderSize + 4; in TEST()
|
D | wav_header.h | 19 static const size_t kWavHeaderSize = 44; variable
|
/external/webrtc/webrtc/modules/media_file/ |
D | media_file_utility.cc | 746 uint8_t buf[kWavHeaderSize]; in WriteWavHeader() 749 wav.Write(buf, kWavHeaderSize); in WriteWavHeader()
|