]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/blobdiff - pasdk/test_dsp/framework/audioStreamOutProc.h
Merge remote-tracking branch 'origin/dev_pasdk_frank_pasdk577RunTimeAudioIoCfg' into...
[processor-sdk/performance-audio-sr.git] / pasdk / test_dsp / framework / audioStreamOutProc.h
index 5aff6c71094aa204cb25f3adf29eb8b8af580f53..96e0433b16837da3830973d51bd6a7cc9cef321b 100644 (file)
@@ -182,10 +182,11 @@ typedef struct PAF_ASOT_Patchs {
 } PAF_ASOT_Patchs;
 
 typedef struct PAF_AST_OutIO {
-    ioPhyHandle_t        hIoPhy;     /* handle to I/O physical layer */
-    ioBuffHandle_t       hIoBuff;    /* handle to I/O buffer management */
-    Ptr                  hMcaspChan; /* handle to McASP LLD channel for output */
-    mcaspLLDconfig       *pLldCfg;   /* pointer to McASP LLD configuration */
+    ioPhyHandle_t        hIoPhy;        // handle to I/O physical layer
+    ioBuffHandle_t       hIoBuff;       // handle to I/O buffer management
+    Ptr                  hMcaspChan;    // handle to McASP LLD channel for output
+    mcaspLLDconfig       *pLldCfg;      // pointer to McASP LLD configuration
+    
     uint32_t             phyXferSize;
     uint32_t             stride;
 
@@ -199,14 +200,15 @@ typedef struct PAF_AST_OutIO {
 
     uint32_t  mcaspXferErr;
 
-    void  *buff1;   // pointer to 1st buffer in output memory pool
-    void  *buff2;   // pointer to 2nd buffer in output memory pool in case of buffer wrap
-    size_t size1;   // size of 1st buffer in output memory pool
-    size_t size2;   // size of 2nd buffer in output memory pool
+    void  *buff1;                       // pointer to 1st buffer in output memory pool
+    void  *buff2;                       // pointer to 2nd buffer in output memory pool in case of buffer wrap
+    size_t size1;                       // size of 1st buffer in output memory pool
+    size_t size2;                       // size of 2nd buffer in output memory pool
     
-    uint32_t ioBuffBuf2AllocCnt;
-    uint32_t errIoBuffOvrCnt;
-    uint32_t errIoBuffUndCnt;
+    uint32_t ioBuffBuf2AllocCnt;        // Output buffer2 allocation (split buffer on buffer wrap) count
+    uint32_t errIoBuffOvrCnt;           // Output IO overflow count
+    uint32_t errIoBuffUndCnt;           // Output IO underflow count
+    float    rateX;                     // Input/Output clock ratio
     
     // debugging counters
     uint32_t num_xfers;