]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/commitdiff
Adding back this code causes mat-thd (input only) to work
authorFrank Livingston <frank-livingston@ti.com>
Fri, 27 Jan 2017 23:26:46 +0000 (17:26 -0600)
committerFrank Livingston <frank-livingston@ti.com>
Fri, 27 Jan 2017 23:27:43 +0000 (17:27 -0600)
pasdk/test_dsp/mib/mib.c

index 43327b34661badfbe9151895e6ede5ccd29617e3..7d45ac306c960a4c0be5d2a0a6a8f65a388f55d1 100644 (file)
@@ -66,7 +66,6 @@ typedef xdc_UShort MdUns;
 typedef xdc_Char SmInt;
 typedef xdc_UChar SmUns;
 
-#define SW_BREAKPOINT       asm( " SWBP 0" );
 
 extern const ti_sysbios_heaps_HeapMem_Handle heapMemDdr3;
 #define HEAPMALLOC (IHeap_Handle)heapMemDdr3
@@ -1117,10 +1116,8 @@ Int DIB_issueChild (DEV2_Handle device, PAF_InpBufConfig  *pBufConfig, int size,
     // the buffer is a multiple of 8 and so, by using this single statement, we
     // ensure all requests are a mulitple 8 even if they need to be split across
     // the buffer wrap point.
-    
-    /* GJ: The below is dMAX specific & unnecessary now w/ EDMA*/
-    //if (pBufConfig->stride == 8)
-        //size = (size + 7) & ~0x7;
+    if (pBufConfig->stride == 8)
+        size = (size + 7) & ~0x7;
 
     // convert to bytes
     size *= pBufConfig->sizeofElement;