please help me to understand USBAudio 2.0 project
Code: Select all
int main()
{
par
{
on tile[AUDIO_IO_TILE]: usb_audio_io(...);
...
}
}
void usb_audio_io(...)
{
par
{
...
clockGen(...);
}
}
void clockGen(...)
{
...
while(1)
{
select
{
case ...:
case ...:
#ifdef SPDIF_RX
/* Receive sample from S/PDIF RX thread (steaming chan) */
case c_spdif_rx :> tmp:
/* Check parity and ignore if bad */
if(badParity(tmp)) continue;
...
break;
} // eo select
}// eo while
}
If I replace continue with break program will exit from select, continue to run into while(1) loop and enter to select again, am I right?