Home
last modified time | relevance | path

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

/hardware/libhardware/modules/usbaudio/
Daudio_hal.c445 const int num_req_channels = out->hal_channel_count; /* what we told AudioFlinger */ 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()
459 adjust_channels(write_buff, num_req_channels, in out_write()
856 int num_req_channels = in->hal_channel_count; /* what we told AudioFlinger */ 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()
886 out_buff, num_req_channels, in in_read()