Searched refs:kChunksize (Results 1 – 1 of 1) sorted by relevance
83 static const size_t kChunksize = 4096 / sizeof(uint16_t); in ReadSamples() local85 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() local134 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()