* cleanup scanner project * cleanup infrastructure projects * cleanup ffmpeg project * cleanup core project * cleanup app project * cleanup main project * update dependencies * code cleanup
11 lines
326 B
C#
11 lines
326 B
C#
namespace ErsatzTV.FFmpeg.OutputOption;
|
|
|
|
public class AudioSampleRateOutputOption : OutputOption
|
|
{
|
|
private readonly int _sampleRate;
|
|
|
|
public AudioSampleRateOutputOption(int sampleRate) => _sampleRate = sampleRate;
|
|
|
|
public override IList<string> OutputOptions => new List<string> { "-ar", $"{_sampleRate}k" };
|
|
}
|