Home
last modified time | relevance | path

Searched refs:kWavHeaderSize (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/common_audio/
Dwav_header.cc58 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()
Dwav_file.cc113 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()
Dwav_file_unittest.cc68 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()
Dwav_header_unittest.cc42 if (size_ >= kWavHeaderSize) in Read()
247 static const int kSize = 4 + kWavHeaderSize + 4; in TEST()
Dwav_header.h19 static const size_t kWavHeaderSize = 44; variable
/external/webrtc/webrtc/modules/media_file/
Dmedia_file_utility.cc746 uint8_t buf[kWavHeaderSize]; in WriteWavHeader()
749 wav.Write(buf, kWavHeaderSize); in WriteWavHeader()