Home
last modified time | relevance | path

Searched refs:halConfig (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libaudiohal/2.0/
DEffectHalHidl.cpp76 const buffer_config_t& halConfig, EffectBufferConfig* config) { in effectBufferConfigFromHal() argument
77 config->samplingRateHz = halConfig.samplingRate; in effectBufferConfigFromHal()
78 config->channels = AudioChannelMask(halConfig.channels); in effectBufferConfigFromHal()
79 config->format = AudioFormat(halConfig.format); in effectBufferConfigFromHal()
80 config->accessMode = EffectBufferAccess(halConfig.accessMode); in effectBufferConfigFromHal()
81 config->mask = EffectConfigParameters(halConfig.mask); in effectBufferConfigFromHal()
86 const EffectBufferConfig& config, buffer_config_t* halConfig) { in effectBufferConfigToHal() argument
87 halConfig->buffer.frameCount = 0; in effectBufferConfigToHal()
88 halConfig->buffer.raw = NULL; in effectBufferConfigToHal()
89 halConfig->samplingRate = config.samplingRateHz; in effectBufferConfigToHal()
[all …]
DEffectHalHidl.h84 const buffer_config_t& halConfig, EffectBufferConfig* config);
86 const EffectBufferConfig& config, buffer_config_t* halConfig);
87 static void effectConfigFromHal(const effect_config_t& halConfig, EffectConfig* config);
88 static void effectConfigToHal(const EffectConfig& config, effect_config_t* halConfig);
/frameworks/av/media/libaudiohal/4.0/
DEffectHalHidl.cpp79 const buffer_config_t& halConfig, EffectBufferConfig* config) { in effectBufferConfigFromHal() argument
80 config->samplingRateHz = halConfig.samplingRate; in effectBufferConfigFromHal()
81 config->channels = mkEnumConverter<AudioChannelMask>(halConfig.channels); in effectBufferConfigFromHal()
82 config->format = AudioFormat(halConfig.format); in effectBufferConfigFromHal()
83 config->accessMode = EffectBufferAccess(halConfig.accessMode); in effectBufferConfigFromHal()
84 config->mask = mkEnumConverter<EffectConfigParameters>(halConfig.mask); in effectBufferConfigFromHal()
89 const EffectBufferConfig& config, buffer_config_t* halConfig) { in effectBufferConfigToHal() argument
90 halConfig->buffer.frameCount = 0; in effectBufferConfigToHal()
91 halConfig->buffer.raw = NULL; in effectBufferConfigToHal()
92 halConfig->samplingRate = config.samplingRateHz; in effectBufferConfigToHal()
[all …]
DEffectHalHidl.h85 const buffer_config_t& halConfig, EffectBufferConfig* config);
87 const EffectBufferConfig& config, buffer_config_t* halConfig);
88 static void effectConfigFromHal(const effect_config_t& halConfig, EffectConfig* config);
89 static void effectConfigToHal(const EffectConfig& config, effect_config_t* halConfig);
/frameworks/av/services/soundtrigger/
DSoundTriggerHalHidl.cpp288 ISoundTriggerHw::RecognitionConfig halConfig; in startRecognition() local
289 convertRecognitionConfigToHal(&halConfig, config); in startRecognition()
292 hidlReturn = soundtrigger->startRecognition(model->mHalHandle, halConfig, this, handle); in startRecognition()
295 V2_1_ISoundTriggerHw::RecognitionConfig halConfig; in startRecognition() local
296 auto result = convertRecognitionConfigToHal(&halConfig, config); in startRecognition()
300 model->mHalHandle, halConfig, this, handle); in startRecognition()
526 ISoundTriggerHw::RecognitionConfig *halConfig, in convertRecognitionConfigToHal() argument
529 halConfig->captureHandle = config->capture_handle; in convertRecognitionConfigToHal()
530 halConfig->captureDevice = (AudioDevice)config->capture_device; in convertRecognitionConfigToHal()
531 halConfig->captureRequested = (uint32_t)config->capture_requested; in convertRecognitionConfigToHal()
[all …]
DSoundTriggerHalHidl.h162 void convertRecognitionConfigToHal(ISoundTriggerHw::RecognitionConfig *halConfig,
165 V2_1_ISoundTriggerHw::RecognitionConfig *halConfig,
/frameworks/base/services/core/jni/BroadcastRadio/
DTuner.cpp249 BandConfig halConfig; in nativeGetConfiguration() local
253 halConfig = config; in nativeGetConfiguration()
259 return convert::BandConfigFromHal(env, halConfig, region).release(); in nativeGetConfiguration()