summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorsommersoft <sommersoft@gmail.com>2019-08-29 22:09:45 -0500
committersommersoft <sommersoft@gmail.com>2019-08-29 22:09:45 -0500
commite618441e186e346eb599c355a7a5e95c05d4c4d9 (patch)
tree24f7dce9aae313f69268b6fd7f46694c435cead2 /shared-bindings
parent750ffcc81adcf44805683ea7990eb6f469a7f35d (diff)
eval the expression vs [un]defined
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/audioio/__init__.c8
1 files 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