Home
last modified time | relevance | path

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

/external/webrtc/common_audio/
Dwav_file.cc230 std::array<float, kMaxChunksize> converted_samples; in WriteSamples() local
232 converted_samples[j] = S16ToFloat(samples[i + j]); in WriteSamples()
235 file_.Write(converted_samples.data(), in WriteSamples()
236 num_samples_to_write * sizeof(converted_samples[0]))); in WriteSamples()
256 std::array<int16_t, kMaxChunksize> converted_samples; in WriteSamples() local
258 converted_samples[j] = FloatS16ToS16(samples[i + j]); in WriteSamples()
261 file_.Write(converted_samples.data(), in WriteSamples()
262 num_samples_to_write * sizeof(converted_samples[0]))); in WriteSamples()
265 std::array<float, kMaxChunksize> converted_samples; in WriteSamples() local
267 converted_samples[j] = FloatS16ToFloat(samples[i + j]); in WriteSamples()
[all …]
/external/adhd/cras/src/server/
Ddev_stream.c287 uint8_t *converted_samples; in capture_copy_converted_to_stream() local
312 converted_samples = buf_read_pointer_size( in capture_copy_converted_to_stream()
318 converted_samples); in capture_copy_converted_to_stream()