diff options
| author | dherrada <dylan.herrada@adafruit.com> | 2020-07-02 17:47:52 -0400 |
|---|---|---|
| committer | dherrada <dylan.herrada@adafruit.com> | 2020-07-02 17:47:52 -0400 |
| commit | 9b4ffc05710873e69bfeed209d0f7ebd8fb2f259 (patch) | |
| tree | ee53c635cbe9a04b6119f74925d4d2cebef1de78 /shared-bindings/audiomp3 | |
| parent | dd27fdfbe34a6d67e5019d211e96bc8cda3ee77d (diff) | |
Changed unions to ReadableBuffer and WriteableBuffer
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 a4fd6e61f..68c27169f 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: Union[bytearray, memoryview]): +//| def __init__(self, file: typing.BinaryIO, buffer: WriteableBuffer): //| //| """Load a .mp3 file for playback with `audioio.AudioOut` or `audiobusio.I2SOut`. //| |
