Searched refs:pcm_config (Results 1 – 9 of 9) sorted by relevance
108 bool IsSoftwarePcmParametersSupported(const PcmParameters& pcm_config) { in IsSoftwarePcmParametersSupported() argument113 (pcm_config.sampleRate != SampleRate::RATE_UNKNOWN && in IsSoftwarePcmParametersSupported()114 pcm_config.bitsPerSample != BitsPerSample::BITS_UNKNOWN && in IsSoftwarePcmParametersSupported()115 pcm_config.channelMode != ChannelMode::UNKNOWN); in IsSoftwarePcmParametersSupported()117 (pcm_config.sampleRate & pcm_capabilities.sampleRate && in IsSoftwarePcmParametersSupported()118 pcm_config.bitsPerSample & pcm_capabilities.bitsPerSample && in IsSoftwarePcmParametersSupported()119 pcm_config.channelMode & pcm_capabilities.channelMode); in IsSoftwarePcmParametersSupported()204 PcmParameters pcm_config = {}; in TEST_F() local206 pcm_config.sampleRate = sample_rate; in TEST_F()208 pcm_config.bitsPerSample = bits_per_sample; in TEST_F()[all …]
556 bool a2dp_get_selected_hal_pcm_config(PcmParameters* pcm_config) { in a2dp_get_selected_hal_pcm_config() argument557 if (pcm_config == nullptr) return false; in a2dp_get_selected_hal_pcm_config()561 *pcm_config = ::bluetooth::audio::BluetoothAudioClientInterface:: in a2dp_get_selected_hal_pcm_config()567 pcm_config->sampleRate = a2dp_codec_to_hal_sample_rate(current_codec); in a2dp_get_selected_hal_pcm_config()568 pcm_config->bitsPerSample = a2dp_codec_to_hal_bits_per_sample(current_codec); in a2dp_get_selected_hal_pcm_config()569 pcm_config->channelMode = a2dp_codec_to_hal_channel_mode(current_codec); in a2dp_get_selected_hal_pcm_config()570 return (pcm_config->sampleRate != SampleRate::RATE_UNKNOWN && in a2dp_get_selected_hal_pcm_config()571 pcm_config->bitsPerSample != BitsPerSample::BITS_UNKNOWN && in a2dp_get_selected_hal_pcm_config()572 pcm_config->channelMode != ChannelMode::UNKNOWN); in a2dp_get_selected_hal_pcm_config()655 PcmParameters pcm_config{}; in setup_codec() local[all …]
216 PcmParameters pcm_config{}; in start_session() local217 if (!HearingAidGetSelectedHalPcmConfig(&pcm_config)) { in start_session()221 audio_config.pcmConfig(pcm_config); in start_session()
27 struct pcm_config alsa_config;38 struct pcm_config * config);
24 void log_pcm_config(struct pcm_config * config, const char* label);
53 struct pcm_config default_config;
103 void log_pcm_config(struct pcm_config * config, const char* label) { in log_pcm_config()
47 struct pcm_config * config) in proxy_prepare()299 struct pcm_config alsa_config; in proxy_scan_rates()
235 struct pcm_config config = profile->default_config; in profile_test_sample_rate()335 static int read_alsa_device_config(alsa_device_profile * profile, struct pcm_config * config) in read_alsa_device_config()