Hi guys,
I'm trying to build a shoutcast player with my arduino due. With an W5100 ethernetcard and LC VS1053 I get connection and sound. So, that part is working, but I get buggy sound. It plays the 32bytes buffer in the VS1053, it reads the ethernet and that all looks too slow.
After a few seconds the player stalls.
A piece of my code:
while( client.connected())
if( client.available()){
client.read( mp3Buff0, VS1053_DATABUFFERLEN );
MP3.playData( mp3Buff0, VS1053_DATABUFFERLEN );
mp3Buff0[0] = '\0';}
}
Anyone got suggestions?
Thanks in advance...