hal: Add support for AEC and NS audio effects

- Add sound devices needed to enable/disable AEC and NS
  audio effects on voice communication and voice recognition
  usecases.

Change-Id: I53ef3fc84e9ad43852cb22786731594f3e598390
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 64db646..b661dd1 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -1857,6 +1857,12 @@
         if (!in->standby)
             select_devices(in->dev, in->usecase);
     }
+    if (in->enable_ns != enable &&
+            (memcmp(&desc.type, FX_IID_NS, sizeof(effect_uuid_t)) == 0)) {
+        in->enable_ns = enable;
+        if (!in->standby)
+            select_devices(in->dev, in->usecase);
+    }
     pthread_mutex_unlock(&in->dev->lock);
     pthread_mutex_unlock(&in->lock);