I have built a small Internet radio player using VB.Net that works very well except that one stream, my favourite, causes BASS to cause a BASSSync.BASS_SYNC_END whenever the stream frequency changes. It gives BASSError.BASS_ERROR_UNKNOWN as the reason for the crash. The only way to recover is to restart the stream again, but then the sound repeats the last few seconds gradually reducing until it gets to the new bit as though a buffer is emptying!
This is the problem stream: "
http://deliciousagony.streamguys1.com:80/live".
I've tried trapping other errors but the 'SYNC_END' seems to the only one that catches it.
The stream frequency is mostly 44.1K but some tracks are 48K with announcements at 24K or 32K.
Since it doesn't crash very often it's taken a long time to work out what seems to be happening!
Any suggestions gratefully received!
Edit: the stream frequency is from TAG_INFO - channelinfo.freq. The stream bitrate is always 128K.