• Home
  • Raw
  • Download

Lines Matching refs:is_playback

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()
1402 static int read_usb_sup_params_and_compare(bool is_playback, in read_usb_sup_params_and_compare() argument
1418 num_formats = read_usb_sup_formats(is_playback, supported_formats, in read_usb_sup_params_and_compare()
1420 num_masks = read_usb_sup_channel_masks(is_playback, supported_channel_masks, in read_usb_sup_params_and_compare()
1423 num_rates = read_usb_sup_sample_rates(is_playback, in read_usb_sup_params_and_compare()
1438 static bool is_usb_ready(struct audio_device *adev, bool is_playback) in is_usb_ready() argument
1449 is_playback, &supported_sample_rate, 1 /* max_rates */) > 0; in is_usb_ready()