aboutsummaryrefslogtreecommitdiff
path: root/discord/oggparse.py
Commit message (Collapse)AuthorAgeFilesLines
* Typehint oggparse.pyapple502j2021-08-221-11/+22
|
* Add `__all__` to remaining modulesNadir Chowdhury2021-04-071-0/+6
|
* Modernize code to use f-stringsRapptz2021-04-041-2/+0
| | | | | This also removes the encoding on the top, since Python 3 does it by default. It also changes some methods to use `yield from`.
* Change copyright year to presentNihaal Sangha2021-01-151-1/+1
|
* Bump copyright year to 2020Rapptz2020-01-191-1/+1
| | | | Closes #2510
* Fix OggStream "invalid header magic" at end of streamrkevin2019-11-191-0/+2
|
* Add FFmpegOpusAudio and other voice improvementsImayhaveborkedit2019-07-221-0/+96
Rework FFmpeg player and add FFmpegOpusAudio I have extracted some of the base FFmpeg source code into its own base class and reimplemented the PCM and the new Opus variants. Support avconv probing Also fix a few things Update `__all__` Fix the bugs Rework probe functions and add factory function Probing involves subprocess so it has been reworked into an async factory function. Add docs + a few tweaks * Removed unnecessary read() and is_opus() functions from FFmpegAudio * Clear self._stdout in cleanup() * Add 20 second process communication timeout to probe functions * Capped probe function bitrate values at 512 Change AudioPlayer to use more accurate, monotonic time.perf_counter() Add lazy opus loading The library now no longer loads libopus on import, only on opus.Encoder creation or manually. Fix review nits