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/audiocore | |
| parent | dd27fdfbe34a6d67e5019d211e96bc8cda3ee77d (diff) | |
Changed unions to ReadableBuffer and WriteableBuffer
Diffstat (limited to 'shared-bindings/audiocore')
| -rw-r--r-- | shared-bindings/audiocore/WaveFile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/audiocore/WaveFile.c b/shared-bindings/audiocore/WaveFile.c index 4eed5eaca..838447f2e 100644 --- a/shared-bindings/audiocore/WaveFile.c +++ b/shared-bindings/audiocore/WaveFile.c @@ -40,7 +40,7 @@ //| be 8 bit unsigned or 16 bit signed. If a buffer is provided, it will be used instead of allocating //| an internal buffer.""" //| -//| def __init__(self, file: typing.BinaryIO, buffer: Union[bytes, bytearray, memoryview]): +//| def __init__(self, file: typing.BinaryIO, buffer: ReadableBuffer): //| """Load a .wav file for playback with `audioio.AudioOut` or `audiobusio.I2SOut`. //| //| :param typing.BinaryIO file: Already opened wave file |
