summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsommersoft <sommersoft@gmail.com>2019-08-19 22:04:06 -0500
committersommersoft <sommersoft@gmail.com>2019-08-19 22:04:06 -0500
commite92ef7b018d852b5665832d0377b2df31690a95b (patch)
treef8c7ff9a69fe54e748387e93524704dbbc210588
parenteb8f1cc1dcb0b08297bcfdbe1d7e66b660460cff (diff)
fix doc refs for audiocore
-rw-r--r--shared-bindings/audiocore/MixerVoice.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/shared-bindings/audiocore/MixerVoice.c b/shared-bindings/audiocore/MixerVoice.c
index 50f14c758..35f6757c8 100644
--- a/shared-bindings/audiocore/MixerVoice.c
+++ b/shared-bindings/audiocore/MixerVoice.c
@@ -37,16 +37,16 @@
#include "shared-bindings/util.h"
#include "supervisor/shared/translate.h"
-//| .. currentmodule:: audioio
+//| .. currentmodule:: audiocore
//|
//| :class:`MixerVoice` -- Voice objects used with Mixer
//| =====================================================
//|
-//| Used to access and control samples with `audioio.Mixer`.
+//| Used to access and control samples with `audiocore.Mixer`.
//|
//| .. class:: MixerVoice()
//|
-//| MixerVoice instance object(s) created by `audioio.Mixer`.
+//| MixerVoice instance object(s) created by `audiocore.Mixer`.
//|
// TODO: support mono or stereo voices
STATIC mp_obj_t audioio_mixervoice_make_new(const mp_obj_type_t *type, size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
@@ -88,9 +88,9 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(audioio_mixervoice___exit___obj, 4, 4
//| Plays the sample once when ``loop=False``, and continuously when ``loop=True``.
//| Does not block. Use `playing` to block.
//|
-//| Sample must be an `audioio.WaveFile`, `audioio.Mixer` or `audioio.RawSample`.
+//| Sample must be an `audiocore.WaveFile`, `audiocore.Mixer` or `audiocore.RawSample`.
//|
-//| The sample must match the `audioio.Mixer`'s encoding settings given in the constructor.
+//| The sample must match the `audiocore.Mixer`'s encoding settings given in the constructor.
//|
STATIC mp_obj_t audioio_mixervoice_obj_play(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
enum { ARG_sample, ARG_loop };