summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7d5554f)
raw | patch | inline | side by side (parent: 7d5554f)
author | Ming Wei <mwei@ti.com> | |
Mon, 19 Nov 2018 23:39:01 +0000 (17:39 -0600) | ||
committer | Ming Wei <mwei@ti.com> | |
Mon, 19 Nov 2018 23:39:01 +0000 (17:39 -0600) |
for real time demos for K2G and OMAP-L137
Signed-off-by: Ming Wei <mwei@ti.com>
Signed-off-by: Ming Wei <mwei@ti.com>
realtime_demo_bios/k2g/src/mcasp_cfg.c | patch | blob | history | |
realtime_demo_bios/omapl137/src/audioSample_io.c | patch | blob | history |
index 4783502efb2e2641dde7b147665438b0dd8dd042..467f1c89dbddf3941cfb40e10fe97515c65c89e1 100644 (file)
*\r
* \return Cmb_EOK on Success or error code\r
*/\r
-#define DUMP_SEC 5\r
+#define DUMP_SEC 10\r
#define FRAME_PER_SEC 100\r
int gAudDumpBufIdx = 0;\r
unsigned char gAudDumpBuf[(BUFSIZE*RX_NUM_SERIALIZER)*FRAME_PER_SEC*DUMP_SEC];\r
gAudDumpBufIdx++;\r
}\r
\r
+ if (gAudDumpBufIdx==500)\r
+ {\r
+ UART_printf("\nTest Passed\n");\r
+ }\r
+ \r
#if (CMB_AUDIO_DAC)\r
/* Issue full buffer to the output stream */\r
/* TX frame processing */\r
diff --git a/realtime_demo_bios/omapl137/src/audioSample_io.c b/realtime_demo_bios/omapl137/src/audioSample_io.c
index 46fd391e8de3fb53d76d791fb46df431be6fd6dd..509c70409a434ba834a30dcd9a8ffe3bd9237ec2 100644 (file)
profiling_start();
#endif
total_frames_sent++;
-
+ if (total_frames_sent==500)
+ {
+ UART_printf("\nTest Passed\n");
+ }
}
MCASP_log("\nTotal %d frames sent",total_frames_sent);