gta4xl-common: libaudioproxy: Update PCM devices

Change-Id: I68a84a4bbe83016d4ad03425f02cccc050f455c8
diff --git a/audio/proxy/audio_pcm.h b/audio/proxy/audio_pcm.h
index f724eb2..0c1146c 100644
--- a/audio/proxy/audio_pcm.h
+++ b/audio/proxy/audio_pcm.h
@@ -70,7 +70,7 @@
 // Device 13 ~ 15 : used for Compress Offload Dump
 // Device 16 ~ 18 : used for OEM Analysis Dump
 // From Device 19
-#define SOUND_DEVICE_CALL_RECORD        24      // WDMA for Call Recording
+#define SOUND_DEVICE_CALL_RECORD        21      // WDMA for Call Recording
 #define SOUND_DEVICE_TELEPHONYRX_RECORD 34      // TelephonyRx Recording virtual pcm
 
 #define SOUND_DEVICE_UNDEFINE           99
@@ -162,7 +162,7 @@
 
 // PCM Configurations for Fast Playback Stream
 #define FAST_PLAYBACK_CARD              SOUND_CARD0
-#define FAST_PLAYBACK_DEVICE            SOUND_DEVICE_ABOX_RDMA1
+#define FAST_PLAYBACK_DEVICE            SOUND_DEVICE_ABOX_RDMA2
 
 #define FAST_PLAYBACK_CHANNELS          DEFAULT_MEDIA_CHANNELS
 #define FAST_PLAYBACK_SAMPLING_RATE     DEFAULT_MEDIA_SAMPLING_RATE
@@ -184,7 +184,7 @@
 
 // PCM Configurations for Low Latency Playback Stream
 #define LOW_PLAYBACK_CARD               SOUND_CARD0
-#define LOW_PLAYBACK_DEVICE             SOUND_DEVICE_ABOX_RDMA1
+#define LOW_PLAYBACK_DEVICE             SOUND_DEVICE_ABOX_RDMA2
 
 #define LOW_PLAYBACK_CHANNELS           DEFAULT_MEDIA_CHANNELS
 #define LOW_PLAYBACK_SAMPLING_RATE      DEFAULT_MEDIA_SAMPLING_RATE
@@ -206,7 +206,7 @@
 
 // PCM Configurations for MMAP Playback Stream
 #define MMAP_PLAYBACK_CARD               SOUND_CARD0
-#define MMAP_PLAYBACK_DEVICE             SOUND_DEVICE_ABOX_RDMA2
+#define MMAP_PLAYBACK_DEVICE             SOUND_DEVICE_ABOX_RDMA3
 
 #define MMAP_PLAYBACK_CHANNELS           DEFAULT_MEDIA_CHANNELS
 #define MMAP_PLAYBACK_SAMPLING_RATE      DEFAULT_MEDIA_SAMPLING_RATE
@@ -228,7 +228,7 @@
 
 // PCM Configurations for DeepBuffer Playback Stream
 #define DEEP_PLAYBACK_CARD              SOUND_CARD0
-#define DEEP_PLAYBACK_DEVICE            SOUND_DEVICE_ABOX_RDMA3
+#define DEEP_PLAYBACK_DEVICE            SOUND_DEVICE_ABOX_RDMA1
 
 #define DEEP_PLAYBACK_CHANNELS          DEFAULT_MEDIA_CHANNELS
 #define DEEP_PLAYBACK_SAMPLING_RATE     DEFAULT_MEDIA_SAMPLING_RATE
@@ -399,7 +399,7 @@
 #define SPKAMP_PLAYBACK_SAMPLING_RATE   DEFAULT_MEDIA_SAMPLING_RATE
 #define SPKAMP_PLAYBACK_PERIOD_SIZE     480
 #define SPKAMP_PLAYBACK_PERIOD_COUNT    4
-#define SPKAMP_PLAYBACK_FORMAT          DEFAULT_MEDIA_32_FORMAT
+#define SPKAMP_PLAYBACK_FORMAT          DEFAULT_MEDIA_FORMAT
 #define SPKAMP_PLAYBACK_START           SPKAMP_PLAYBACK_PERIOD_SIZE
 #define SPKAMP_PLAYBACK_STOP            UINT_MAX
 
@@ -415,7 +415,7 @@
 
 // PCM Configurations for FM Radio Playback Stream
 #define FMRADIO_PLAYBACK_CARD           SOUND_CARD0
-#define FMRADIO_PLAYBACK_DEVICE         SOUND_DEVICE_ABOX_RDMA8
+#define FMRADIO_PLAYBACK_DEVICE         SOUND_DEVICE_ABOX_RDMA3
 
 #define FMRADIO_PLAYBACK_CHANNELS       DEFAULT_MEDIA_CHANNELS
 #define FMRADIO_PLAYBACK_SAMPLING_RATE  DEFAULT_MEDIA_SAMPLING_RATE
@@ -550,7 +550,7 @@
 
 // PCM Configurations for Primary Capture Stream
 #define PRIMARY_CAPTURE_CARD            SOUND_CARD0
-#define PRIMARY_CAPTURE_DEVICE          SOUND_DEVICE_ABOX_WDMA1
+#define PRIMARY_CAPTURE_DEVICE          SOUND_DEVICE_ABOX_RDMA9
 
 #define PRIMARY_CAPTURE_CHANNELS        DEFAULT_MEDIA_CHANNELS
 #define PRIMARY_CAPTURE_SAMPLING_RATE   DEFAULT_MEDIA_SAMPLING_RATE
@@ -597,7 +597,7 @@
 
 // PCM Configurations for Low Latency Capture Stream
 #define LOW_CAPTURE_CARD                SOUND_CARD0
-#define LOW_CAPTURE_DEVICE              SOUND_DEVICE_ABOX_WDMA1
+#define LOW_CAPTURE_DEVICE              SOUND_DEVICE_ABOX_RDMA9
 
 #define LOW_CAPTURE_CHANNELS            DEFAULT_MEDIA_CHANNELS
 #define LOW_CAPTURE_SAMPLING_RATE       DEFAULT_MEDIA_SAMPLING_RATE
@@ -619,7 +619,7 @@
 
 // PCM Configurations for MMAP Capture Stream
 #define MMAP_CAPTURE_CARD               SOUND_CARD0
-#define MMAP_CAPTURE_DEVICE             SOUND_DEVICE_ABOX_WDMA1
+#define MMAP_CAPTURE_DEVICE             SOUND_DEVICE_ABOX_RDMA9
 
 #define MMAP_CAPTURE_CHANNELS           DEFAULT_MEDIA_CHANNELS
 #define MMAP_CAPTURE_SAMPLING_RATE      DEFAULT_MEDIA_SAMPLING_RATE
@@ -641,7 +641,7 @@
 
 // PCM Configurations for Voice TX Capture Stream
 #define VTX_CAPTURE_CARD                SOUND_CARD0
-#define VTX_CAPTURE_DEVICE              SOUND_DEVICE_ABOX_WDMA2
+#define VTX_CAPTURE_DEVICE              SOUND_DEVICE_ABOX_RDMA10
 
 #define VTX_CAPTURE_CHANNELS            DEFAULT_VOICE_CHANNELS
 #define VTX_CAPTURE_SAMPLING_RATE       DEFAULT_VOICE_SAMPLING_RATE
@@ -684,7 +684,7 @@
 
 // PCM Configurations for FM Radio/Voice Call Capture Stream
 #define VC_FMRADIO_CAPTURE_CARD            SOUND_CARD0
-#define VC_FMRADIO_CAPTURE_DEVICE          SOUND_DEVICE_ABOX_WDMA7
+#define VC_FMRADIO_CAPTURE_DEVICE          SOUND_DEVICE_ABOX_RDMA10
 
 #define VC_FMRADIO_CAPTURE_CHANNELS        DEFAULT_MEDIA_CHANNELS
 #define VC_FMRADIO_CAPTURE_SAMPLING_RATE   DEFAULT_MEDIA_SAMPLING_RATE
@@ -727,13 +727,13 @@
 
 // PCM Configurations for ERAP In Stream
 #define ERAP_IN_CARD                    SOUND_CARD0
-#define ERAP_IN_DEVICE                  SOUND_DEVICE_ABOX_WDMA3
+#define ERAP_IN_DEVICE                  SOUND_DEVICE_ABOX_RDMA11
 
 #define ERAP_IN_CHANNELS                DEFAULT_MEDIA_CHANNELS
 #define ERAP_IN_SAMPLING_RATE           DEFAULT_MEDIA_SAMPLING_RATE
 #define ERAP_IN_PERIOD_SIZE             480
 #define ERAP_IN_PERIOD_COUNT            4
-#define ERAP_IN_FORMAT                  DEFAULT_MEDIA_32_FORMAT
+#define ERAP_IN_FORMAT                  DEFAULT_MEDIA_FORMAT
 #define ERAP_IN_START                   ERAP_IN_PERIOD_SIZE
 #define ERAP_IN_STOP                    UINT_MAX
 
@@ -749,13 +749,13 @@
 
 // PCM Configurations for Speaker AMP Reference Stream
 #define SPKAMP_REFERENCE_CARD           SOUND_CARD0
-#define SPKAMP_REFERENCE_DEVICE         SOUND_DEVICE_ABOX_WDMA4
+#define SPKAMP_REFERENCE_DEVICE         SOUND_DEVICE_ABOX_WDMA0
 
 #define SPKAMP_REFERENCE_CHANNELS       MEDIA_4_CHANNELS
 #define SPKAMP_REFERENCE_SAMPLING_RATE  DEFAULT_MEDIA_SAMPLING_RATE
 #define SPKAMP_REFERENCE_PERIOD_SIZE    480
 #define SPKAMP_REFERENCE_PERIOD_COUNT   4
-#define SPKAMP_REFERENCE_FORMAT         DEFAULT_MEDIA_32_FORMAT
+#define SPKAMP_REFERENCE_FORMAT         DEFAULT_MEDIA_FORMAT
 #define SPKAMP_REFERENCE_START          SPKAMP_REFERENCE_PERIOD_SIZE
 #define SPKAMP_REFERENCE_STOP           UINT_MAX