diff --git a/FFMpegCore/FFMpeg/Arguments/PanArgument.cs b/FFMpegCore/FFMpeg/Arguments/PanArgument.cs index 74d5699..013fbf6 100644 --- a/FFMpegCore/FFMpeg/Arguments/PanArgument.cs +++ b/FFMpegCore/FFMpeg/Arguments/PanArgument.cs @@ -4,13 +4,22 @@ namespace FFMpegCore.Arguments { /// - /// Represents scale parameter + /// Mix channels with specific gain levels. /// public class PanArgument : IAudioFilterArgument { public readonly string ChannelLayout; private readonly string[] _outputDefinitions; + /// + /// Mix channels with specific gain levels + /// + /// + /// Represent the output channel layout. Like "stereo", "mono", "2.1", "5.1" + /// + /// + /// Output channel specification, of the form: "out_name=[gain*]in_name[(+-)[gain*]in_name...]" + /// public PanArgument(string channelLayout, params string[] outputDefinitions) { if (string.IsNullOrWhiteSpace(channelLayout)) @@ -23,6 +32,13 @@ public PanArgument(string channelLayout, params string[] outputDefinitions) _outputDefinitions = outputDefinitions; } + /// + /// Mix channels with specific gain levels + /// + /// Number of channels in output file + /// + /// Output channel specification, of the form: "out_name=[gain*]in_name[(+-)[gain*]in_name...]" + /// public PanArgument(int channels, params string[] outputDefinitions) { if (channels <= 0) throw new ArgumentOutOfRangeException(nameof(channels));