diff options
| author | dherrada <dylan.herrada@adafruit.com> | 2020-07-02 12:39:17 -0400 |
|---|---|---|
| committer | dherrada <dylan.herrada@adafruit.com> | 2020-07-02 12:39:17 -0400 |
| commit | ac113fdc815f31b54d742f73265359787bd95290 (patch) | |
| tree | ea416b40e21c39f5e987802a0bcfe13599ef8c91 /shared-bindings/audiomp3 | |
| parent | ffc5f0c3382bf76e73cfcb9d0ba45b4c1fb19b26 (diff) | |
Changed bytearray to a union
Diffstat (limited to 'shared-bindings/audiomp3')
| -rw-r--r-- | shared-bindings/audiomp3/MP3Decoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/audiomp3/MP3Decoder.c b/shared-bindings/audiomp3/MP3Decoder.c index 4d4792cdc..d9ec49082 100644 --- a/shared-bindings/audiomp3/MP3Decoder.c +++ b/shared-bindings/audiomp3/MP3Decoder.c @@ -37,7 +37,7 @@ //| class MP3: //| """Load a mp3 file for audio playback""" //| -//| def __init__(self, file: typing.BinaryIO, buffer: bytearray): +//| def __init__(self, file: typing.BinaryIO, buffer: Union[bytes, bytearray, memoryview]): //| //| """Load a .mp3 file for playback with `audioio.AudioOut` or `audiobusio.I2SOut`. //| |
