You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//| """Load a .mp3 file for playback with `audioio.AudioOut` or `audiobusio.I2SOut`.
50
50
//|
51
-
//| :param typing.BinaryIO file: Already opened mp3 file
51
+
//| :param Union[str, typing.BinaryIO] file: The name of a mp3 file (preferred) or an already opened mp3 file
52
52
//| :param ~circuitpython_typing.WriteableBuffer buffer: Optional pre-allocated buffer, that will be split in half and used for double-buffering of the data. If not provided, two buffers are allocated internally. The specific buffer size required depends on the mp3 file.
53
53
//|
54
54
//| Playback of mp3 audio is CPU intensive, and the
0 commit comments