From a09d449c003c0c828a877fd75eceaefc66e835b5 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 24 Oct 2013 07:58:35 -0400 Subject: [PATCH] updated hls audio params --- MediaBrowser.Api/Playback/Hls/VideoHlsService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs index 2f1ba9c5df..ecc53ce349 100644 --- a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs +++ b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs @@ -96,10 +96,10 @@ namespace MediaBrowser.Api.Playback.Hls // Boost volume to 200% when downsampling from 6ch to 2ch if (channels.HasValue && channels.Value <= 2 && state.AudioStream.Channels.HasValue && state.AudioStream.Channels.Value > 5) { - volParam = "volume=2.000000"; + volParam = ",volume=2.000000"; } - - args += string.Format(" -af \"{0}\"", volParam); + + args += string.Format(" -af \"adelay=1,aresample=async=1000{0}\"", volParam); return args; }