Searched refs:audio_cfg (Results 1 – 3 of 3) sorted by relevance
153 audio_config_t audio_cfg; in out_get_sample_rate() local154 if (out->bluetooth_output_.LoadAudioConfig(&audio_cfg)) { in out_get_sample_rate()156 << " audio_cfg=" << audio_cfg; in out_get_sample_rate()157 return audio_cfg.sample_rate; in out_get_sample_rate()184 audio_config_t audio_cfg; in out_get_channels() local185 if (out->bluetooth_output_.LoadAudioConfig(&audio_cfg)) { in out_get_channels()187 << " audio_cfg=" << audio_cfg; in out_get_channels()188 return audio_cfg.channel_mask; in out_get_channels()198 audio_config_t audio_cfg; in out_get_format() local199 if (out->bluetooth_output_.LoadAudioConfig(&audio_cfg)) { in out_get_format()[all …]
253 bool BluetoothAudioPortOut::LoadAudioConfig(audio_config_t* audio_cfg) const { in LoadAudioConfig()256 audio_cfg->sample_rate = kBluetoothDefaultSampleRate; in LoadAudioConfig()257 audio_cfg->channel_mask = kBluetoothDefaultOutputChannelModeMask; in LoadAudioConfig()258 audio_cfg->format = kBluetoothDefaultAudioFormatBitsPerSample; in LoadAudioConfig()266 audio_cfg->sample_rate = kBluetoothDefaultSampleRate; in LoadAudioConfig()267 audio_cfg->channel_mask = kBluetoothDefaultOutputChannelModeMask; in LoadAudioConfig()268 audio_cfg->format = kBluetoothDefaultAudioFormatBitsPerSample; in LoadAudioConfig()280 audio_cfg->sample_rate = SampleRateToAudioFormat(pcm_cfg.sampleRate); in LoadAudioConfig()281 audio_cfg->channel_mask = in LoadAudioConfig()283 audio_cfg->format = BitsPerSampleToAudioFormat(pcm_cfg.bitsPerSample); in LoadAudioConfig()
54 bool LoadAudioConfig(audio_config_t* audio_cfg) const;