Home
last modified time | relevance | path

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

/hardware/interfaces/soundtrigger/2.3/default/
DSoundTriggerHw.cpp479 struct sound_trigger_recognition_config* halConfigBase = &halConfigExtended->base; in convertRecognitionConfigToHalHeader() local
481 halConfigBase->capture_handle = (audio_io_handle_t)config_2_0->captureHandle; in convertRecognitionConfigToHalHeader()
482 halConfigBase->capture_device = (audio_devices_t)config_2_0->captureDevice; in convertRecognitionConfigToHalHeader()
483 halConfigBase->capture_requested = config_2_0->captureRequested; in convertRecognitionConfigToHalHeader()
487 convertPhraseRecognitionExtraToHal(&halConfigBase->phrases[i], &config_2_0->phrases[i]); in convertRecognitionConfigToHalHeader()
489 halConfigBase->num_phrases = i; in convertRecognitionConfigToHalHeader()
491 halConfigBase->data_offset = sizeof(struct sound_trigger_recognition_config_extended_1_3); in convertRecognitionConfigToHalHeader()
492 halConfigBase->data_size = config_2_1->data.size(); in convertRecognitionConfigToHalHeader()
499 uint8_t* dst = reinterpret_cast<uint8_t*>(halConfigExtended) + halConfigBase->data_offset; in convertRecognitionConfigToHalHeader()