Searched refs:channel_mask (Results 1 – 6 of 6) sorted by relevance
/device/generic/car/emulator/audio/driver/ |
D | audio_hw.c | 101 return out->req_config.channel_mask; in out_get_channels() 498 audio_channel_mask_t *channel_mask) { in refine_output_parameters() argument 509 int channel_count = popcount(*channel_mask); in refine_output_parameters() 511 *channel_mask = AUDIO_CHANNEL_IN_STEREO; in refine_output_parameters() 539 audio_channel_mask_t *channel_mask) { in refine_input_parameters() argument 552 int channel_count = popcount(*channel_mask); in refine_input_parameters() 554 *channel_mask = AUDIO_CHANNEL_IN_STEREO; in refine_input_parameters() 582 audio_channel_mask_t channel_mask) { in get_input_buffer_size() argument 585 int channel_count = popcount(channel_mask); in get_input_buffer_size() 586 if (refine_input_parameters(&sample_rate, &format, &channel_mask) != 0) in get_input_buffer_size() [all …]
|
/device/linaro/dragonboard/audio/ |
D | audio_hw.c | 281 return out->req_config.channel_mask; in out_get_channels() 697 …utput_parameters(uint32_t *sample_rate, audio_format_t *format, audio_channel_mask_t *channel_mask) in refine_output_parameters() argument 708 int channel_count = popcount(*channel_mask); in refine_output_parameters() 710 *channel_mask = AUDIO_CHANNEL_IN_STEREO; in refine_output_parameters() 737 …input_parameters(uint32_t *sample_rate, audio_format_t *format, audio_channel_mask_t *channel_mask) in refine_input_parameters() argument 749 int channel_count = popcount(*channel_mask); in refine_input_parameters() 751 *channel_mask = AUDIO_CHANNEL_IN_STEREO; in refine_input_parameters() 779 audio_channel_mask_t channel_mask) in check_input_parameters() argument 781 return refine_input_parameters(&sample_rate, &format, &channel_mask); in check_input_parameters() 785 audio_channel_mask_t channel_mask) in get_input_buffer_size() argument [all …]
|
/device/google/cuttlefish/guest/hals/audio/ |
D | audio_hw.c | 284 return out->req_config.channel_mask; in out_get_channels() 700 …utput_parameters(uint32_t *sample_rate, audio_format_t *format, audio_channel_mask_t *channel_mask) in refine_output_parameters() argument 711 int channel_count = popcount(*channel_mask); in refine_output_parameters() 713 *channel_mask = AUDIO_CHANNEL_IN_STEREO; in refine_output_parameters() 740 …input_parameters(uint32_t *sample_rate, audio_format_t *format, audio_channel_mask_t *channel_mask) in refine_input_parameters() argument 752 int channel_count = popcount(*channel_mask); in refine_input_parameters() 754 *channel_mask = AUDIO_CHANNEL_IN_STEREO; in refine_input_parameters() 782 audio_channel_mask_t channel_mask) in check_input_parameters() argument 784 return refine_input_parameters(&sample_rate, &format, &channel_mask); in check_input_parameters() 788 audio_channel_mask_t channel_mask) in get_input_buffer_size() argument [all …]
|
/device/amlogic/yukawa/hal/audio/ |
D | audio_hw.c | 485 audio_channel_mask_t channel_mask) { in get_input_buffer_size() argument 489 size_t bytes_per_frame = audio_channel_count_from_in_mask(channel_mask) * in get_input_buffer_size() 830 audio_channel_count_from_out_mask(config->channel_mask) != CHANNEL_STEREO || in adev_open_output_stream() 834 config->channel_mask = audio_channel_out_mask_from_count(CHANNEL_STEREO); in adev_open_output_stream() 847 config->channel_mask = out_get_channels(&out->stream.common); in adev_open_output_stream() 975 get_input_buffer_size(CAPTURE_PERIOD_SIZE, config->format, config->channel_mask); in adev_get_input_buffer_size() 1029 audio_channel_count_from_in_mask(config->channel_mask) != CHANNEL_STEREO || in adev_open_input_stream() 1044 config->channel_mask = in_get_channels(&in->stream.common); in adev_open_input_stream()
|
/device/linaro/poplar/audio/ |
D | audio_hw.c | 468 audio_channel_count_from_out_mask(config->channel_mask) != CHANNEL_STEREO || in adev_open_output_stream() 472 config->channel_mask = audio_channel_out_mask_from_count(CHANNEL_STEREO); in adev_open_output_stream() 484 config->channel_mask = out_get_channels(&out->stream.common); in adev_open_output_stream()
|
/device/linaro/hikey/audio/ |
D | audio_hw.c | 652 audio_channel_count_from_out_mask(config->channel_mask) != CHANNEL_STEREO || in adev_open_output_stream() 656 config->channel_mask = audio_channel_out_mask_from_count(CHANNEL_STEREO); in adev_open_output_stream() 668 config->channel_mask = out_get_channels(&out->stream.common); in adev_open_output_stream()
|