From 43fc3d1f80ab8f6028289d14a7489ffcaa11f7e6 Mon Sep 17 00:00:00 2001 From: icedream Date: Wed, 7 May 2014 08:29:47 +0200 Subject: [PATCH] Remove asynchronous write processing. I wonder if that caused some Shoutcast clients to break. --- src/sc_bridge/IcecastWriter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sc_bridge/IcecastWriter.cs b/src/sc_bridge/IcecastWriter.cs index 639eb94..70e530f 100644 --- a/src/sc_bridge/IcecastWriter.cs +++ b/src/sc_bridge/IcecastWriter.cs @@ -107,7 +107,7 @@ namespace AFR.ShoutcastBridge { if (_ns == null || _sr == null || _sw == null || _tcp == null || !_tcp.Connected) return; - _sw.BaseStream.WriteAsync(data, 0, data.Length); + _sw.BaseStream.Write(data, 0, data.Length); } catch (Exception error) {