Remove asynchronous write processing. I wonder if that caused some Shoutcast clients to break.

master
Icedream 2014-05-07 08:29:47 +02:00
parent 5ab5a5ba26
commit 43fc3d1f80
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ namespace AFR.ShoutcastBridge
{ {
if (_ns == null || _sr == null || _sw == null || _tcp == null || !_tcp.Connected) if (_ns == null || _sr == null || _sw == null || _tcp == null || !_tcp.Connected)
return; return;
_sw.BaseStream.WriteAsync(data, 0, data.Length); _sw.BaseStream.Write(data, 0, data.Length);
} }
catch (Exception error) catch (Exception error)
{ {