Home
last modified time | relevance | path

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

/device/generic/car/emulator/audio/driver/
Daudio_hw.h81 int16_t *stereo_to_mono_buf; // Protected by this->lock member
Daudio_hw.c891 in->stereo_to_mono_buf = realloc(in->stereo_to_mono_buf, bytes*2); in in_read()
892 if (!in->stereo_to_mono_buf) { in in_read()
898 read_frames = audio_vbuffer_read(&in->buffer, in->stereo_to_mono_buf, frames); in in_read()
901 uint16_t *src = (uint16_t *)in->stereo_to_mono_buf; in in_read()
1149 if (in->stereo_to_mono_buf != NULL) { in adev_close_input_stream()
1150 free(in->stereo_to_mono_buf); in adev_close_input_stream()
1209 in->stereo_to_mono_buf = NULL; in adev_open_input_stream()
/device/linaro/dragonboard/audio/
Daudio_hw.c214 int16_t *stereo_to_mono_buf; // Protected by this->lock member
1110 in->stereo_to_mono_buf = realloc(in->stereo_to_mono_buf, in in_read()
1112 if (!in->stereo_to_mono_buf) { in in_read()
1118 read_frames = audio_vbuffer_read(&in->buffer, in->stereo_to_mono_buf, frames); in in_read()
1121 uint16_t *src = (uint16_t *)in->stereo_to_mono_buf; in in_read()
1411 if (in->stereo_to_mono_buf != NULL) { in adev_close_input_stream()
1412 free(in->stereo_to_mono_buf); in adev_close_input_stream()
1478 in->stereo_to_mono_buf = NULL; in adev_open_input_stream()
/device/google/cuttlefish/guest/hals/audio/
Daudio_hw.c217 int16_t *stereo_to_mono_buf; // Protected by this->lock member
1113 in->stereo_to_mono_buf = realloc(in->stereo_to_mono_buf, in in_read()
1115 if (!in->stereo_to_mono_buf) { in in_read()
1121 read_frames = audio_vbuffer_read(&in->buffer, in->stereo_to_mono_buf, frames); in in_read()
1124 uint16_t *src = (uint16_t *)in->stereo_to_mono_buf; in in_read()
1414 if (in->stereo_to_mono_buf != NULL) { in adev_close_input_stream()
1415 free(in->stereo_to_mono_buf); in adev_close_input_stream()
1481 in->stereo_to_mono_buf = NULL; in adev_open_input_stream()