]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/commitdiff
Add comments to alpha command files
authorFrank Livingston <frank-livingston@ti.com>
Tue, 12 Sep 2017 19:02:15 +0000 (14:02 -0500)
committerFrank Livingston <frank-livingston@ti.com>
Tue, 12 Sep 2017 19:02:15 +0000 (14:02 -0500)
- Add comments to Dec Op CB alpha command header file.
- Update PAF submodule for updated PAF SYS alpha header file.

pasdk/paf
pasdk/test_dsp/framework/alpha/pafdecopcb_a.h

index 0dd40b301c27f5429a915fe03f02b1037cb46e0e..0da4c97e4fd187a4c958e061f642b61fc6b37db2 160000 (submodule)
--- a/pasdk/paf
+++ b/pasdk/paf
@@ -1 +1 @@
-Subproject commit 0dd40b301c27f5429a915fe03f02b1037cb46e0e
+Subproject commit 0da4c97e4fd187a4c958e061f642b61fc6b37db2
index 797b7d5057796dee9333d6122c13c7f394a73710..7543e91577a1dd5798a0ed3ff2c25bb8374a6f82 100644 (file)
@@ -38,10 +38,20 @@ All rights reserved.
 
 #include <acpbeta.h>
 
 
 #include <acpbeta.h>
 
+//
+// Decoder Output Circular Buffer alpha codes.
+// "Stream" frame length is CB read frame length (16-bits).
+//
+
+// Read CB stream frame length
 #define  readDECOPCBStreamFrameLength       0xc300+STD_BETA_DECOPCB,0x0004
 #define  readDECOPCBStreamFrameLength       0xc300+STD_BETA_DECOPCB,0x0004
+// Write 256 to CB stream frame length
 #define  writeDECOPCBStreamFrameLength256   0xcb00+STD_BETA_DECOPCB,0x0004,0x0100
 #define  writeDECOPCBStreamFrameLength256   0xcb00+STD_BETA_DECOPCB,0x0004,0x0100
+// Write 512 to CB stream frame length
 #define  writeDECOPCBStreamFrameLength512   0xcb00+STD_BETA_DECOPCB,0x0004,0x0200
 #define  writeDECOPCBStreamFrameLength512   0xcb00+STD_BETA_DECOPCB,0x0004,0x0200
+// Write 1024 to CB stream frame length
 #define  writeDECOPCBStreamFrameLength1024  0xcb00+STD_BETA_DECOPCB,0x0004,0x0400
 #define  writeDECOPCBStreamFrameLength1024  0xcb00+STD_BETA_DECOPCB,0x0004,0x0400
+// Write N to CB stream frame length
 #define  writeDECOPCBStreamFrameLengthN(N)  0xcb00+STD_BETA_DECOPCB,0x0004,(N&0xFFFF)
 
 #endif // _PAF_DECOPCB_A_H_
 #define  writeDECOPCBStreamFrameLengthN(N)  0xcb00+STD_BETA_DECOPCB,0x0004,(N&0xFFFF)
 
 #endif // _PAF_DECOPCB_A_H_