aboutsummaryrefslogtreecommitdiff
path: root/discord/opus.py
diff options
context:
space:
mode:
authorNihaal Sangha <[email protected]>2021-01-15 10:28:11 +0000
committerGitHub <[email protected]>2021-01-15 05:28:11 -0500
commit69bdc3a1849407f64ef93bd2e5119e54d6cd2208 (patch)
tree5ec113d3bf9fa214876bedd88b3e7c38fe82a304 /discord/opus.py
parent[commands] Add PartialMessageConverter (diff)
downloaddiscord.py-69bdc3a1849407f64ef93bd2e5119e54d6cd2208.tar.xz
discord.py-69bdc3a1849407f64ef93bd2e5119e54d6cd2208.zip
Change copyright year to present
Diffstat (limited to 'discord/opus.py')
-rw-r--r--discord/opus.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/opus.py b/discord/opus.py
index 1f2a03f3..28b37ae0 100644
--- a/discord/opus.py
+++ b/discord/opus.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2020 Rapptz
+Copyright (c) 2015-present Rapptz
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
@@ -374,7 +374,7 @@ class Decoder(_OpusStruct):
def _set_gain(self, adjustment):
"""Configures decoder gain adjustment.
-
+
Scales the decoded output by a factor specified in Q8 dB units.
This has a maximum range of -32768 to 32767 inclusive, and returns
OPUS_BAD_ARG (-1) otherwise. The default is zero indicating no adjustment.