From e618441e186e346eb599c355a7a5e95c05d4c4d9 Mon Sep 17 00:00:00 2001 From: sommersoft Date: Thu, 29 Aug 2019 22:09:45 -0500 Subject: eval the expression vs [un]defined --- shared-bindings/audioio/__init__.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shared-bindings/audioio/__init__.c b/shared-bindings/audioio/__init__.c index 0d307335f..ea81786d6 100644 --- a/shared-bindings/audioio/__init__.c +++ b/shared-bindings/audioio/__init__.c @@ -33,12 +33,12 @@ #include "shared-bindings/audioio/__init__.h" #include "shared-bindings/audioio/AudioOut.h" -#ifdef CIRCUITPY_AUDIOIO_COMPAT +#if CIRCUITPY_AUDIOIO_COMPAT #include "shared-bindings/audiomixer/Mixer.h" #include "shared-bindings/audiocore/RawSample.h" #include "shared-bindings/audiocore/WaveFile.h" #endif -#ifdef CIRCUIPY_AUDIOMIXER +#if CIRCUITPY_AUDIOMIXER #include "shared-bindings/audiomixer/Mixer.h" #endif @@ -63,8 +63,8 @@ //| call :py:meth:`!deinit` or use a context manager. See //| :ref:`lifetime-and-contextmanagers` for more info. //| -//| Since CircuitPython 5, `Mixer`, `RawSample` and `WaveFile` are moved -//| to :mod:`audiocore`. +//| Since CircuitPython 5, `RawSample` and `WaveFile` are moved +//| to :mod:`audiocore`, and `Mixer` is moved to :mod:`audiomixer`. //| //| For compatibility with CircuitPython 4.x, some builds allow the items in //| `audiocore` to be imported from `audioio`. This will be removed for all -- cgit v1.2.3