diff --git a/typings/index.d.ts b/typings/index.d.ts index ef8e1b7..25f68fd 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1,12 +1,11 @@ declare module '@discordjs/opus' { export class OpusEncoder { public constructor(rate: number, channels: number); - public encode(buf: Buffer): Buffer; public decode(buf: Buffer): Buffer; public applyEncoderCTL(ctl: number, value: number): void; public applyDecoderCTL(ctl: number, value: number): void; - public setBirate(bitrate: number): void; + public setBitrate(bitrate: number): void; public getBitrate(): number; } }