This project has moved and is read-only. For the latest updates, please go here.

Lag playback when using Icy-MetaData header


Hello. Firstly, I want to thank you for the excellent library.

I develop applications for listening to Internet radio. Faced with the problem that when you send a request with the title:

webRequest.Headers.Add ( "Icy-MetaData", "1");

Play lag at certain intervals, thus setting the parameter "Latency" for "DirectSoundOut" does not help. Play with this parameter, it does not eliminate the lag. If you remove the title, play clean and without any lag.

The code used as the basis of an example:

Please help me find the problem. Maybe I'm doing something wrong. Perhaps this lag cause sent meta data? Then how to get them but will get rid of noise?