mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
vars and target-typed new
This commit is contained in:
@@ -37,7 +37,7 @@ namespace Ayu.Discord.Voice
|
||||
this.channels = (int) channels;
|
||||
this.bitDepth = (int) bitDepthEnum;
|
||||
|
||||
this.Encoder = new LibOpusEncoder(this.sampleRate, this.channels, this.bitRate, this.frameDelay);
|
||||
this.Encoder = new(this.sampleRate, this.channels, this.bitRate, this.frameDelay);
|
||||
|
||||
Encode = bitDepthEnum switch
|
||||
{
|
||||
|
Reference in New Issue
Block a user