aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-04-19 17:20:10 -0400
committerRapptz <[email protected]>2017-04-19 17:23:39 -0400
commitf5cfc96aafb14349a942fe392ee062773cf4d2a5 (patch)
tree4a0eea7622e4e75183c25cd9005453c585016e2f /docs/api.rst
parentAdd VoiceClient.is_paused to query pause state. (diff)
downloaddiscord.py-f5cfc96aafb14349a942fe392ee062773cf4d2a5.tar.xz
discord.py-f5cfc96aafb14349a942fe392ee062773cf4d2a5.zip
Add PCMVolumeTransformer to augment volume of a PCM stream.
This also introduces the idea of replacing the VoiceClient.source on the fly. Note that this internally pauses and resumes the audio stream.
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 2177a270..eb287121 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -55,6 +55,9 @@ Voice
.. autoclass:: FFmpegPCMAudio
:members:
+.. autoclass:: PCMVolumeTransformer
+ :members:
+
Opus Library
~~~~~~~~~~~~~