karawin / Ka-Radio32

esp32 version of Ka-Radio (https://github.com/karawin/Ka-Radio) by jp Cocatrix
516 stars 155 forks source link

Chopping sound issue (similar to #163 ?) #192

Closed stavragi closed 3 years ago

stavragi commented 3 years ago

Hello, I just constructed a Ka-Radio32 and I seem to face an issue with the vs1053 similar to #163 When the stream start I hear the station for a split second and then it starts chopping the sound.

Since it is the first time i try to run the player i'm pretty sure it is something i am doing wrong. The vs board does work (tested with other code) I double checked my connections and everything seem to be correct (my lcd and encoder works)

I tried to disable the vs patch but there was not difference. I enabled the verbose mode in log and saw the following:

V (211931) servers: Call websocketRead i: 0, socket: 55, ret: 14 E (214511) webclient: Client socket: 58 read: -1 errno:11 W (214511) webclient: No data in recv. Errno = 11 I (216791) audio_player: Buffer fill 2%, 1299 // 51200 bytes V (216981) servers: Activity 1, max_fd: 55 V (216981) servers: webserverclients. V (216981) webserver: websocketHandle: wsrssi & V (216991) servers: Call websocketRead i: 0, socket: 55, ret: 14 V (222071) servers: Activity 1, max_fd: 55 V (222071) servers: webserverclients. V (222071) webserver: websocketHandle: wsrssi & V (222071) servers: Call websocketRead i: 0, socket: 55, ret: 14 E (226491) webclient: Client socket: 58 read: -1 errno:11 W (226491) webclient: No data in recv. Errno = 11

Any suggestions ?

stavragi commented 3 years ago

Never mind... i tested the vs1053 again with the sample code and it fails there as well. I must have killed it with a wrong connection.