diff options
| author | dherrada <dylan.herrada@adafruit.com> | 2020-07-03 14:23:34 -0400 |
|---|---|---|
| committer | dherrada <dylan.herrada@adafruit.com> | 2020-07-03 14:23:34 -0400 |
| commit | d0d949cd24dbff5fb382f8c7abf3bae7ba46541a (patch) | |
| tree | a3e4f4faae1858acef2f9095a7bf9650fd8c000c /shared-bindings/audiomixer/Mixer.c | |
| parent | d358c915c3d27469fc17bdc302dad393d7e28a09 (diff) | |
Made every init return None
Diffstat (limited to 'shared-bindings/audiomixer/Mixer.c')
| -rw-r--r-- | shared-bindings/audiomixer/Mixer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/audiomixer/Mixer.c b/shared-bindings/audiomixer/Mixer.c index a31953e03..0d7712b03 100644 --- a/shared-bindings/audiomixer/Mixer.c +++ b/shared-bindings/audiomixer/Mixer.c @@ -41,7 +41,7 @@ //| class Mixer: //| """Mixes one or more audio samples together into one sample.""" //| -//| def __init__(self, voice_count: int = 2, buffer_size: int = 1024, channel_count: int = 2, bits_per_sample: int = 16, samples_signed: bool = True, sample_rate: int = 8000): +//| def __init__(self, voice_count: int = 2, buffer_size: int = 1024, channel_count: int = 2, bits_per_sample: int = 16, samples_signed: bool = True, sample_rate: int = 8000) -> None: //| """Create a Mixer object that can mix multiple channels with the same sample rate. //| Samples are accessed and controlled with the mixer's `audiomixer.MixerVoice` objects. //| |
