Home
last modified time | relevance | path

Searched refs:audio_cfg (Results 1 – 3 of 3) sorted by relevance

/system/bt/audio_bluetooth_hw/
Dstream_apis.cc153 audio_config_t audio_cfg; in out_get_sample_rate() local
154 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() local
185 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() local
199 if (out->bluetooth_output_.LoadAudioConfig(&audio_cfg)) { in out_get_format()
[all …]
Ddevice_port_proxy.cc253 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()
Ddevice_port_proxy.h54 bool LoadAudioConfig(audio_config_t* audio_cfg) const;