Home
last modified time | relevance | path

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

/external/webrtc/webrtc/common_audio/
Dwav_file.cc83 static const size_t kChunksize = 4096 / sizeof(uint16_t); in ReadSamples() local
85 for (size_t i = 0; i < num_samples; i += kChunksize) { in ReadSamples()
86 int16_t isamples[kChunksize]; in ReadSamples()
87 size_t chunk = std::min(kChunksize, num_samples - i); in ReadSamples()
133 static const size_t kChunksize = 4096 / sizeof(uint16_t); in WriteSamples() local
134 for (size_t i = 0; i < num_samples; i += kChunksize) { in WriteSamples()
135 int16_t isamples[kChunksize]; in WriteSamples()
136 const size_t chunk = std::min(kChunksize, num_samples - i); in WriteSamples()