Hi,
When I using the ddk\apps\audio\evmdm642\tsk_audio.pjt, I changed the MODEL as SIO_STANDARD,
and using the SIO_STANDARD MODEL:
for(;;){
if ((nmadus = SIO_get(inStream, (Ptr *)&inbuf)) < 0) {
SYS_abort("Error reading buffer ");
}
for (i = 0; i < (nmadus / sizeof(short)); i++) {
outbuf[i] = inbuf[i];
}
if (SIO_put(outStream, (Ptr *)&outbuf, nmadus) < 0) {
SYS_abort("Error writing buffer ");
}
}
But Intermittent worked, 15 senconds worked, another 15 senconds it did not, I defined the BUFSIZE as 3840. Why SIO_ISSUERECLAIM can work, and SIO_STANDARD can't?
What's the difference between SIO_ISSUERECLAIM and SIO_STANDARD?