File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333#include "shared-bindings/audioio/__init__.h"
3434#include "shared-bindings/audioio/AudioOut.h"
3535
36- #ifdef CIRCUITPY_AUDIOIO_COMPAT
36+ #if CIRCUITPY_AUDIOIO_COMPAT
3737#include "shared-bindings/audiomixer/Mixer.h"
3838#include "shared-bindings/audiocore/RawSample.h"
3939#include "shared-bindings/audiocore/WaveFile.h"
4040#endif
41- #ifdef CIRCUIPY_AUDIOMIXER
41+ #if CIRCUITPY_AUDIOMIXER
4242#include "shared-bindings/audiomixer/Mixer.h"
4343#endif
4444
6363//| call :py:meth:`!deinit` or use a context manager. See
6464//| :ref:`lifetime-and-contextmanagers` for more info.
6565//|
66- //| Since CircuitPython 5, `Mixer`, ` RawSample` and `WaveFile` are moved
67- //| to :mod:`audiocore`.
66+ //| Since CircuitPython 5, `RawSample` and `WaveFile` are moved
67+ //| to :mod:`audiocore`, and `Mixer` is moved to :mod:`audiomixer` .
6868//|
6969//| For compatibility with CircuitPython 4.x, some builds allow the items in
7070//| `audiocore` to be imported from `audioio`. This will be removed for all
You can’t perform that action at this time.
0 commit comments