Home
last modified time | relevance | path

Searched refs:pcm_cfg (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Ddevice_port_proxy_hidl.cc339 const ::android::hardware::bluetooth::audio::V2_1::PcmParameters& pcm_cfg = in GetPreferredDataIntervalUs() local
341 *interval_us = pcm_cfg.dataIntervalUs; in GetPreferredDataIntervalUs()
556 const ::android::hardware::bluetooth::audio::V2_1::PcmParameters& pcm_cfg = in LoadAudioConfig() local
562 << ", PcmConfig=[" << toString(pcm_cfg) << "]"; in LoadAudioConfig()
563 if (pcm_cfg.sampleRate == SampleRate_2_1::RATE_UNKNOWN || in LoadAudioConfig()
564 pcm_cfg.channelMode == ChannelMode::UNKNOWN || in LoadAudioConfig()
565 pcm_cfg.bitsPerSample == BitsPerSample::BITS_UNKNOWN) { in LoadAudioConfig()
569 audio_cfg->sample_rate = SampleRateToAudioFormat(pcm_cfg.sampleRate); in LoadAudioConfig()
570 audio_cfg->channel_mask = InputChannelModeToAudioFormat(pcm_cfg.channelMode); in LoadAudioConfig()
571 audio_cfg->format = BitsPerSampleToAudioFormat(pcm_cfg.bitsPerSample); in LoadAudioConfig()
[all …]
Ddevice_port_proxy.cc348 const PcmConfiguration& pcm_cfg = in GetPreferredDataIntervalUs() local
350 *interval_us = pcm_cfg.dataIntervalUs; in GetPreferredDataIntervalUs()
372 const PcmConfiguration& pcm_cfg = in LoadAudioConfig() local
376 << ", state=" << state_ << ", PcmConfig=[" << pcm_cfg.toString() in LoadAudioConfig()
378 if (pcm_cfg.channelMode == ChannelMode::UNKNOWN) { in LoadAudioConfig()
381 audio_cfg->sample_rate = pcm_cfg.sampleRateHz; in LoadAudioConfig()
385 : OutputChannelModeToAudioFormat(pcm_cfg.channelMode)); in LoadAudioConfig()
387 BitsPerSampleToAudioFormat(pcm_cfg.bitsPerSample, session_type_); in LoadAudioConfig()
409 const PcmConfiguration& pcm_cfg = in LoadAudioConfig() local
413 << ", state=" << state_ << ", PcmConfig=[" << pcm_cfg.toString() in LoadAudioConfig()
[all …]