Lines Matching refs:is_playback

1316 static ssize_t read_usb_sup_sample_rates(bool is_playback,  in read_usb_sup_sample_rates()  argument
1320 ssize_t count = audio_extn_usb_sup_sample_rates(is_playback, in read_usb_sup_sample_rates()
1325 ALOGV("%s %s %d", __func__, is_playback ? "P" : "C", in read_usb_sup_sample_rates()
1332 static int read_usb_sup_channel_masks(bool is_playback, in read_usb_sup_channel_masks() argument
1336 int channels = audio_extn_usb_get_max_channels(is_playback); in read_usb_sup_channel_masks()
1342 if (is_playback) { in read_usb_sup_channel_masks()
1374 is_playback ? "P" : "C", channels, i, supported_channel_masks[i], num_masks); in read_usb_sup_channel_masks()
1380 static int read_usb_sup_formats(bool is_playback __unused, in read_usb_sup_formats()
1384 int bitwidth = audio_extn_usb_get_max_bit_width(is_playback); in read_usb_sup_formats()
1399 is_playback ? "P" : "C", bitwidth); in read_usb_sup_formats()
1403 static int read_usb_sup_params_and_compare(bool is_playback, in read_usb_sup_params_and_compare() argument
1419 num_formats = read_usb_sup_formats(is_playback, supported_formats, in read_usb_sup_params_and_compare()
1421 num_masks = read_usb_sup_channel_masks(is_playback, supported_channel_masks, in read_usb_sup_params_and_compare()
1424 num_rates = read_usb_sup_sample_rates(is_playback, in read_usb_sup_params_and_compare()
1439 static bool is_usb_ready(struct audio_device *adev, bool is_playback) in is_usb_ready() argument
1450 is_playback, &supported_sample_rate, 1 /* max_rates */) > 0; in is_usb_ready()