Skip to content

Commit e92ef7b

Browse files
committed
fix doc refs for audiocore
1 parent eb8f1cc commit e92ef7b

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

shared-bindings/audiocore/MixerVoice.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@
3737
#include "shared-bindings/util.h"
3838
#include "supervisor/shared/translate.h"
3939

40-
//| .. currentmodule:: audioio
40+
//| .. currentmodule:: audiocore
4141
//|
4242
//| :class:`MixerVoice` -- Voice objects used with Mixer
4343
//| =====================================================
4444
//|
45-
//| Used to access and control samples with `audioio.Mixer`.
45+
//| Used to access and control samples with `audiocore.Mixer`.
4646
//|
4747
//| .. class:: MixerVoice()
4848
//|
49-
//| MixerVoice instance object(s) created by `audioio.Mixer`.
49+
//| MixerVoice instance object(s) created by `audiocore.Mixer`.
5050
//|
5151
// TODO: support mono or stereo voices
5252
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
8888
//| Plays the sample once when ``loop=False``, and continuously when ``loop=True``.
8989
//| Does not block. Use `playing` to block.
9090
//|
91-
//| Sample must be an `audioio.WaveFile`, `audioio.Mixer` or `audioio.RawSample`.
91+
//| Sample must be an `audiocore.WaveFile`, `audiocore.Mixer` or `audiocore.RawSample`.
9292
//|
93-
//| The sample must match the `audioio.Mixer`'s encoding settings given in the constructor.
93+
//| The sample must match the `audiocore.Mixer`'s encoding settings given in the constructor.
9494
//|
9595
STATIC mp_obj_t audioio_mixervoice_obj_play(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
9696
enum { ARG_sample, ARG_loop };

0 commit comments

Comments
 (0)