Merge "audio hal: initialize audio patch handle" into oc-dev
This commit is contained in:
commit
9ba37420fe
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ Return<void> Device::createAudioPatch(
|
|||
if (version() >= AUDIO_DEVICE_API_VERSION_3_0) {
|
||||
std::unique_ptr<audio_port_config[]> halSources(HidlUtils::audioPortConfigsToHal(sources));
|
||||
std::unique_ptr<audio_port_config[]> halSinks(HidlUtils::audioPortConfigsToHal(sinks));
|
||||
audio_patch_handle_t halPatch;
|
||||
audio_patch_handle_t halPatch = AUDIO_PATCH_HANDLE_NONE;
|
||||
retval = analyzeStatus(
|
||||
"create_audio_patch",
|
||||
mDevice->create_audio_patch(
|
||||
|
|
Loading…
Reference in a new issue