Searched refs:channel_mask (Results 1 – 7 of 7) sorted by relevance
124 uint32_t channel_mask; member217 int chan_count = audio_channel_count_from_out_mask(cfg.channel_mask); in calc_audiotime_usec()518 common->cfg.channel_mask = AUDIO_CHANNEL_IN_MONO; in ha_read_input_audio_config()521 common->cfg.channel_mask = AUDIO_CHANNEL_IN_STEREO; in ha_read_input_audio_config()626 stream_config.channel_mask = AUDIO_CHANNEL_OUT_MONO; in ha_read_output_audio_config()630 stream_config.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in ha_read_output_audio_config()639 stream_config.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in ha_read_output_audio_config()645 common->cfg.channel_mask = stream_config.channel_mask; in ha_read_output_audio_config()732 switch (common->cfg.channel_mask) { in ha_write_output_audio_config()744 ERROR("Invalid channel mask: 0x%x", common->cfg.channel_mask); in ha_write_output_audio_config()[all …]
115 audio_channel_mask_t channel_mask; member211 int chan_count = audio_channel_count_from_out_mask(cfg.channel_mask); in calc_audiotime_usec()515 common->cfg.channel_mask = AUDIO_CHANNEL_IN_MONO; in a2dp_read_input_audio_config()518 common->cfg.channel_mask = AUDIO_CHANNEL_IN_STEREO; in a2dp_read_input_audio_config()617 stream_config.channel_mask = AUDIO_CHANNEL_OUT_MONO; in a2dp_read_output_audio_config()621 stream_config.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in a2dp_read_output_audio_config()630 stream_config.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in a2dp_read_output_audio_config()636 common->cfg.channel_mask = stream_config.channel_mask; in a2dp_read_output_audio_config()717 switch (common->cfg.channel_mask) { in a2dp_write_output_audio_config()729 ERROR("Invalid channel mask: 0x%x", common->cfg.channel_mask); in a2dp_write_output_audio_config()[all …]
540 audio_cfg->channel_mask = kBluetoothDefaultInputChannelModeMask; in LoadAudioConfig()552 audio_cfg->channel_mask = kBluetoothDefaultInputChannelModeMask; in LoadAudioConfig()570 audio_cfg->channel_mask = InputChannelModeToAudioFormat(pcm_cfg.channelMode); in LoadAudioConfig()580 audio_cfg->channel_mask = kBluetoothDefaultOutputChannelModeMask; in LoadAudioConfig()592 audio_cfg->channel_mask = kBluetoothDefaultOutputChannelModeMask; in LoadAudioConfig()609 audio_cfg->channel_mask = in LoadAudioConfig()
359 audio_cfg->channel_mask = kBluetoothDefaultOutputChannelModeMask; in LoadAudioConfig()368 audio_cfg->channel_mask = kBluetoothDefaultOutputChannelModeMask; in LoadAudioConfig()382 audio_cfg->channel_mask = in LoadAudioConfig()396 audio_cfg->channel_mask = kBluetoothDefaultInputChannelModeMask; in LoadAudioConfig()405 audio_cfg->channel_mask = kBluetoothDefaultInputChannelModeMask; in LoadAudioConfig()420 audio_cfg->channel_mask = InputChannelModeToAudioFormat(pcm_cfg.channelMode); in LoadAudioConfig()
47 << ", channels=" << StringPrintf("%#x", config.channel_mask) in operator <<()237 return audio_cfg.channel_mask; in out_get_channels()324 out->channel_mask_ = audio_cfg.channel_mask; in out_set_parameters()475 if (audio_cfg.channel_mask == AUDIO_CHANNEL_OUT_MONO) { in out_get_parameters()478 if (audio_cfg.channel_mask == AUDIO_CHANNEL_OUT_STEREO) { in out_get_parameters()788 if (config->channel_mask == AUDIO_CHANNEL_OUT_MONO && in adev_open_output_stream()794 config->channel_mask = AUDIO_CHANNEL_OUT_STEREO; in adev_open_output_stream()797 out->channel_mask_ = config->channel_mask; in adev_open_output_stream()903 return audio_cfg.channel_mask; in in_get_channels()1305 in->channel_mask_ = config->channel_mask; in adev_open_input_stream()
287 audio_channel_mask_t channel_mask; member294 audio_channel_mask_t channel_mask; member
529 .channel_mask = AUDIO_CHANNEL_NONE, // unused in source_metadata_changed()563 .channel_mask = AUDIO_CHANNEL_NONE, // unused in sink_metadata_changed()