From 04b13745dab0f1281d2e9e603b22b721b58c6552 Mon Sep 17 00:00:00 2001 From: RogueException Date: Wed, 23 Dec 2015 22:09:59 -0400 Subject: [PATCH] Fixed some C#6 alerts --- src/Discord.Net.Audio/Opus/OpusEncoder.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Discord.Net.Audio/Opus/OpusEncoder.cs b/src/Discord.Net.Audio/Opus/OpusEncoder.cs index a7f1b4ac1..d08bb1c32 100644 --- a/src/Discord.Net.Audio/Opus/OpusEncoder.cs +++ b/src/Discord.Net.Audio/Opus/OpusEncoder.cs @@ -27,21 +27,21 @@ namespace Discord.Audio.Opus /// Gets the bit rate of the encoder. public const int BitsPerSample = 16; /// Gets the input sampling rate of the encoder. - public int InputSamplingRate { get; private set; } + public int InputSamplingRate { get; } /// Gets the number of channels of the encoder. - public int InputChannels { get; private set; } + public int InputChannels { get; } /// Gets the milliseconds per frame. - public int FrameLength { get; private set; } + public int FrameLength { get; } /// Gets the number of samples per frame. - public int SamplesPerFrame { get; private set; } + public int SamplesPerFrame { get; } /// Gets the bytes per sample. - public int SampleSize { get; private set; } + public int SampleSize { get; } /// Gets the bytes per frame. - public int FrameSize { get; private set; } + public int FrameSize { get; } /// Gets the bit rate in kbit/s. - public int? BitRate { get; private set; } + public int? BitRate { get; } /// Gets the coding mode of the encoder. - public OpusApplication Application { get; private set; } + public OpusApplication Application { get; } /// Creates a new Opus encoder. /// Sampling rate of the input signal (Hz). Supported Values: 8000, 12000, 16000, 24000, or 48000.