Searched refs:is_playback (Results 1 – 3 of 3) sorted by relevance
/hardware/qcom/audio/hal/audio_extn/ |
D | audio_extn.h | 98 bool is_playback); 103 int audio_extn_usb_get_max_channels(bool is_playback); 104 int audio_extn_usb_get_max_bit_width(bool is_playback); 105 int audio_extn_usb_sup_sample_rates(bool is_playback, uint32_t *sr, uint32_t l); 108 int audio_extn_usb_altset_for_service_interval(bool is_playback,
|
D | usb.c | 975 bool is_playback) in audio_extn_usb_is_config_supported() argument 981 __func__, *bit_width, *sample_rate, *channel_count, is_playback); in audio_extn_usb_is_config_supported() 988 if ((is_playback && usb_output_device(card_info->usb_device_type)) || in audio_extn_usb_is_config_supported() 989 (!is_playback && usb_input_device(card_info->usb_device_type))) { in audio_extn_usb_is_config_supported() 1006 int audio_extn_usb_get_max_channels(bool is_playback) in audio_extn_usb_get_max_channels() argument 1014 if (usb_output_device(card_info->usb_device_type) && !is_playback) in audio_extn_usb_get_max_channels() 1016 else if (usb_input_device(card_info->usb_device_type) && is_playback) in audio_extn_usb_get_max_channels() 1028 int audio_extn_usb_get_max_bit_width(bool is_playback) in audio_extn_usb_get_max_bit_width() argument 1036 if (usb_output_device(card_info->usb_device_type) && !is_playback) in audio_extn_usb_get_max_bit_width() 1038 else if (usb_input_device(card_info->usb_device_type) && is_playback) in audio_extn_usb_get_max_bit_width() [all …]
|
/hardware/qcom/audio/hal/ |
D | audio_hw.c | 1315 static ssize_t read_usb_sup_sample_rates(bool is_playback, in read_usb_sup_sample_rates() argument 1319 ssize_t count = audio_extn_usb_sup_sample_rates(is_playback, in read_usb_sup_sample_rates() 1324 ALOGV("%s %s %d", __func__, is_playback ? "P" : "C", in read_usb_sup_sample_rates() 1331 static int read_usb_sup_channel_masks(bool is_playback, in read_usb_sup_channel_masks() argument 1335 int channels = audio_extn_usb_get_max_channels(is_playback); in read_usb_sup_channel_masks() 1341 if (is_playback) { in read_usb_sup_channel_masks() 1373 is_playback ? "P" : "C", channels, i, supported_channel_masks[i], num_masks); in read_usb_sup_channel_masks() 1379 static int read_usb_sup_formats(bool is_playback __unused, in read_usb_sup_formats() 1383 int bitwidth = audio_extn_usb_get_max_bit_width(is_playback); in read_usb_sup_formats() 1398 is_playback ? "P" : "C", bitwidth); in read_usb_sup_formats() [all …]
|