aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-24 07:58:35 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-24 07:58:35 -0400
commita09d449c003c0c828a877fd75eceaefc66e835b5 (patch)
tree37387ed73b2d58c872dc578d35e7558b1c811089
parent17d9db9308e19b6ddf65ba5d417f75d4af683827 (diff)
updated hls audio params
-rw-r--r--MediaBrowser.Api/Playback/Hls/VideoHlsService.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs b/MediaBrowser.Api/Playback/Hls/VideoHlsService.cs
index 2f1ba9c5d..ecc53ce34 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;
}