Searched refs:hal_pcm_config (Results 1 – 2 of 2) sorted by relevance
145 bool HearingAidGetSelectedHalPcmConfig(PcmParameters* hal_pcm_config) { in HearingAidGetSelectedHalPcmConfig() argument146 if (hal_pcm_config == nullptr) return false; in HearingAidGetSelectedHalPcmConfig()148 hal_pcm_config->sampleRate = SampleRate::RATE_16000; in HearingAidGetSelectedHalPcmConfig()149 hal_pcm_config->bitsPerSample = BitsPerSample::BITS_16; in HearingAidGetSelectedHalPcmConfig()150 hal_pcm_config->channelMode = ChannelMode::STEREO; in HearingAidGetSelectedHalPcmConfig()
151 bool HearingAidGetSelectedHalPcmConfig(PcmConfiguration* hal_pcm_config) { in HearingAidGetSelectedHalPcmConfig() argument152 if (hal_pcm_config == nullptr) return false; in HearingAidGetSelectedHalPcmConfig()154 hal_pcm_config->sampleRateHz = 16000; in HearingAidGetSelectedHalPcmConfig()155 hal_pcm_config->bitsPerSample = 16; in HearingAidGetSelectedHalPcmConfig()156 hal_pcm_config->channelMode = ChannelMode::STEREO; in HearingAidGetSelectedHalPcmConfig()