diff options
| author | Taku Fukada <naninunenor@gmail.com> | 2020-08-03 13:35:43 +0900 |
|---|---|---|
| committer | Taku Fukada <naninunenor@gmail.com> | 2020-08-07 01:01:28 +0900 |
| commit | 56c898da80df57d0e83f4e8d1ee44f4351ce1d8c (patch) | |
| tree | 06f32bb910bca32cd33e96c134b5a18f86f5c5e7 /shared-bindings/audiopwmio | |
| parent | 887eb3b6d9a3ef8c6300448492f1177a609feef6 (diff) | |
Modify some Python stubs
Diffstat (limited to 'shared-bindings/audiopwmio')
| -rw-r--r-- | shared-bindings/audiopwmio/PWMAudioOut.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-bindings/audiopwmio/PWMAudioOut.c b/shared-bindings/audiopwmio/PWMAudioOut.c index 74545a4eb..06571fae1 100644 --- a/shared-bindings/audiopwmio/PWMAudioOut.c +++ b/shared-bindings/audiopwmio/PWMAudioOut.c @@ -148,11 +148,11 @@ STATIC mp_obj_t audiopwmio_pwmaudioout_obj___exit__(size_t n_args, const mp_obj_ STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(audiopwmio_pwmaudioout___exit___obj, 4, 4, audiopwmio_pwmaudioout_obj___exit__); -//| def play(self, sample: audiocore._AudioSample, *, loop: bool = False) -> None: +//| def play(self, sample: _typing.AudioSample, *, loop: bool = False) -> None: //| """Plays the sample once when loop=False and continuously when loop=True. //| Does not block. Use `playing` to block. //| -//| Sample must be an `audiocore.WaveFile`, `audiocore.RawSample`, or `audiomixer.Mixer`. +//| Sample must be an `audiocore.WaveFile`, `audiocore.RawSample`, `audiomixer.Mixer` or `audiomp3.MP3Decoder`. //| //| The sample itself should consist of 16 bit samples. Microcontrollers with a lower output //| resolution will use the highest order bits to output. For example, the SAMD21 has a 10 bit |
