agl-service-unicens: fix streaming alignment issue 73/22473/1
authorTobias Jahnke <tobias.jahnke@microchip.com>
Fri, 20 Sep 2019 20:06:52 +0000 (22:06 +0200)
committerTobias Jahnke <tobias.jahnke@microchip.com>
Fri, 20 Sep 2019 20:06:52 +0000 (22:06 +0200)
Fix xml misconfiguration leading to one stereo channel
having distorted sound.

Bug-AGL: SPEC-2825

Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
Change-Id: Id3f2595170a2b4853b6ae0ad0a346ddbd8f8dfd1

data/config_multichannel_audio_kit.xml

index a61b88d..cbad46c 100644 (file)
 
   <!-- Microphone Front-End -->
   <Node Address="0x520">
-    <StreamPort ClockConfig="64Fs" DataAlignment="Left16Bit" />
+    <StreamPort ClockConfig="64Fs" DataAlignment="Seq" />
     <SyncConnection MuteMode="NoMuting">
-      <StreamSocket StreamPinID="SRXA0" Bandwidth="4" />
-      <MOSTSocket Route="Route_NoiseCanceled_Microphone" Bandwidth="4" />
+      <StreamSocket StreamPinID="SRXA0" Bandwidth="8" />
+      <Splitter BytesPerFrame="8">
+        <MOSTSocket Route="Route_NoiseCanceled_Microphone" Bandwidth="4" Offset="0" />
+      </Splitter>
     </SyncConnection>
   </Node>
 
@@ -38,6 +40,8 @@
       </SyncConnection>
   </Node>
 
+
+
   <!-- Fiberdyne Amplifier -->
   <Node Address="0x510" Name="Fiberdyne Amplifier">
     <StreamPort ClockConfig="64Fs" DataAlignment="Seq"/>