Bläddra i källkod

audio: update aidl platform config

- Add spatial_capture_conditions since this conditions will be different
  by each project.

Bug: 267548143
Test: manual test

Change-Id: I177e2179071570ba6a8ab713ea55f0f0b340ec72
Signed-off-by: Jasmine Cha <[email protected]>
Jasmine Cha 1 år sedan
förälder
incheckning
404e87d2c5
1 ändrade filer med 6 tillägg och 0 borttagningar
  1. 6 0
      audio/lynx/aidl_config/audio_platform_configuration_aidl.xml

+ 6 - 0
audio/lynx/aidl_config/audio_platform_configuration_aidl.xml

@@ -61,6 +61,12 @@
     <device type="speaker" codec_name="cs35l41" argu="SpeakerNum=4,Rotation,AcousticShockProtection" />
   </device_builder>
 
+  <!-- The spatial_capture_conditions: format is "use_case="x" audio_source="y" -->
+  <!-- use_case defines in aidl/audio/usecase/use_case.h, audio_source is definied in aidl interfaces. -->
+  <spatial_capture_conditions>
+    <conditions use_case="primary-capture" audio_source="MIC,CAMCORDER,VOICE_RECOGNITION" />
+  </spatial_capture_conditions>
+
   <!-- The tuner_builder: format is "type="x" codec_name="y" argu="z". argu is optional. -->
   <tuner_builder>
     <tuner type="playback" name="waves" argu="Sink=SPK ThermistorsName=VIRTUAL-SKIN" />