Home
last modified time | relevance | path

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

/hardware/libhardware/modules/usbaudio/
Daudio_hal.c444 const int num_device_channels = proxy_get_channel_count(proxy); /* what we told alsa */ in out_write() local
446 if (num_device_channels != num_req_channels) { in out_write()
449 bytes * num_device_channels / num_req_channels; in out_write()
460 out->conversion_buffer, num_device_channels, in out_write()
855 int num_device_channels = proxy_get_channel_count(&in->proxy); /* what we told Alsa */ in in_read() local
858 if (num_device_channels != num_req_channels) { in in_read()
859 num_read_buff_bytes = (num_device_channels * num_read_buff_bytes) / num_req_channels; in in_read()
875 if (num_device_channels != num_req_channels) { in in_read()
880 if (num_device_channels != num_req_channels) { in in_read()
885 adjust_channels(read_buff, num_device_channels, in in_read()