Skip to content

Commit 750ffcc

Browse files
committed
docs: correct audiomixer refs
1 parent 696117b commit 750ffcc

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

shared-bindings/audiobusio/I2SOut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(audiobusio_i2sout___exit___obj, 4, 4,
164164
//| Plays the sample once when loop=False and continuously when loop=True.
165165
//| Does not block. Use `playing` to block.
166166
//|
167-
//| Sample must be an `audiocore.WaveFile`, `audiocore.RawSample`, or `audiocore.Mixer`.
167+
//| Sample must be an `audiocore.WaveFile`, `audiocore.RawSample`, or `audiomixer.Mixer`.
168168
//|
169169
//| The sample itself should consist of 8 bit or 16 bit samples.
170170
//|

shared-bindings/audioio/AudioOut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(audioio_audioout___exit___obj, 4, 4,
163163
//| Plays the sample once when loop=False and continuously when loop=True.
164164
//| Does not block. Use `playing` to block.
165165
//|
166-
//| Sample must be an `audiocore.WaveFile`, `audiocore.RawSample`, or `audiocore.Mixer`.
166+
//| Sample must be an `audiocore.WaveFile`, `audiocore.RawSample`, or `audiomixer.Mixer`.
167167
//|
168168
//| The sample itself should consist of 16 bit samples. Microcontrollers with a lower output
169169
//| resolution will use the highest order bits to output. For example, the SAMD21 has a 10 bit

shared-bindings/audiomixer/Mixer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
//| .. class:: Mixer(voice_count=2, buffer_size=1024, channel_count=2, bits_per_sample=16, samples_signed=True, sample_rate=8000)
4949
//|
5050
//| Create a Mixer object that can mix multiple channels with the same sample rate.
51-
//| Samples are accessed and controlled with the mixer's `audiocore.MixerVoice` objects.
51+
//| Samples are accessed and controlled with the mixer's `audiomixer.MixerVoice` objects.
5252
//|
5353
//| :param int voice_count: The maximum number of voices to mix
5454
//| :param int buffer_size: The total size in bytes of the buffers to mix into

shared-bindings/audiomixer/MixerVoice.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
//| :class:`MixerVoice` -- Voice objects used with Mixer
4343
//| =====================================================
4444
//|
45-
//| Used to access and control samples with `audiocore.Mixer`.
45+
//| Used to access and control samples with `audiomixer.Mixer`.
4646
//|
4747
//| .. class:: MixerVoice()
4848
//|
@@ -63,9 +63,9 @@ STATIC mp_obj_t audiomixer_mixervoice_make_new(const mp_obj_type_t *type, size_t
6363
//| Plays the sample once when ``loop=False``, and continuously when ``loop=True``.
6464
//| Does not block. Use `playing` to block.
6565
//|
66-
//| Sample must be an `audiocore.WaveFile`, `audiocore.Mixer` or `audiocore.RawSample`.
66+
//| Sample must be an `audiocore.WaveFile`, `audiomixer.Mixer` or `audiocore.RawSample`.
6767
//|
68-
//| The sample must match the `audiocore.Mixer`'s encoding settings given in the constructor.
68+
//| The sample must match the `audiomixer.Mixer`'s encoding settings given in the constructor.
6969
//|
7070
STATIC mp_obj_t audiomixer_mixervoice_obj_play(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
7171
enum { ARG_sample, ARG_loop };

shared-bindings/audiopwmio/PWMAudioOut.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(audiopwmio_pwmaudioout___exit___obj,
166166
//| Plays the sample once when loop=False and continuously when loop=True.
167167
//| Does not block. Use `playing` to block.
168168
//|
169-
//| Sample must be an `audiocore.WaveFile`, `audiocore.RawSample`, or `audiocore.Mixer`.
169+
//| Sample must be an `audiocore.WaveFile`, `audiocore.RawSample`, or `audiomixer.Mixer`.
170170
//|
171171
//| The sample itself should consist of 16 bit samples. Microcontrollers with a lower output
172172
//| resolution will use the highest order bits to output. For example, the SAMD21 has a 10 bit

0 commit comments

Comments
 (0)