From 9e19ca50f7324a9f00109e10966051ea2069baae Mon Sep 17 00:00:00 2001 From: Pecusx Date: Thu, 11 May 2017 20:03:57 +0200 Subject: [PATCH] Better mp3 encoder configuration --- hardware/audio/darkice.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hardware/audio/darkice.cfg b/hardware/audio/darkice.cfg index dff8603..63b8347 100644 --- a/hardware/audio/darkice.cfg +++ b/hardware/audio/darkice.cfg @@ -4,6 +4,8 @@ duration = 0 # duration of encoding, in seconds. 0 means forever bufferSecs = 3 # size of internal slip buffer, in seconds reconnect = yes # reconnect to the server(s) if disconnected +realtime = yes +rtprio = 3 [input] device = hw:Loopback,1 @@ -14,9 +16,9 @@ channel = 2 # channels. 1 = mono, 2 = stereo [icecast2-0] bitrateMode = cbr # variable bit rate (cbr for constant) -quality = 0.5 # 1.0 is best quality format = mp3 bitrate = 256 # bitrate +#quality = 0.5 # 1.0 is best quality server = localhost # or IP port = 8001 # port for IceCast2 access password = mympd # source password to the IceCast2 server