mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02:00
updated hls audio params
This commit is contained in:
parent
17d9db9308
commit
a09d449c00
1 changed files with 3 additions and 3 deletions
|
@ -96,10 +96,10 @@ namespace MediaBrowser.Api.Playback.Hls
|
||||||
// Boost volume to 200% when downsampling from 6ch to 2ch
|
// 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)
|
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;
|
return args;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue