|
37 | 37 | #include "shared-bindings/util.h" |
38 | 38 | #include "supervisor/shared/translate.h" |
39 | 39 |
|
40 | | -//| .. currentmodule:: audioio |
| 40 | +//| .. currentmodule:: audiocore |
41 | 41 | //| |
42 | 42 | //| :class:`MixerVoice` -- Voice objects used with Mixer |
43 | 43 | //| ===================================================== |
44 | 44 | //| |
45 | | -//| Used to access and control samples with `audioio.Mixer`. |
| 45 | +//| Used to access and control samples with `audiocore.Mixer`. |
46 | 46 | //| |
47 | 47 | //| .. class:: MixerVoice() |
48 | 48 | //| |
49 | | -//| MixerVoice instance object(s) created by `audioio.Mixer`. |
| 49 | +//| MixerVoice instance object(s) created by `audiocore.Mixer`. |
50 | 50 | //| |
51 | 51 | // TODO: support mono or stereo voices |
52 | 52 | 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 |
88 | 88 | //| Plays the sample once when ``loop=False``, and continuously when ``loop=True``. |
89 | 89 | //| Does not block. Use `playing` to block. |
90 | 90 | //| |
91 | | -//| Sample must be an `audioio.WaveFile`, `audioio.Mixer` or `audioio.RawSample`. |
| 91 | +//| Sample must be an `audiocore.WaveFile`, `audiocore.Mixer` or `audiocore.RawSample`. |
92 | 92 | //| |
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. |
94 | 94 | //| |
95 | 95 | STATIC mp_obj_t audioio_mixervoice_obj_play(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) { |
96 | 96 | enum { ARG_sample, ARG_loop }; |
|
0 commit comments