Skip to content

Commit bc1e5b7

Browse files
authored
Merge pull request #808 from ronso0/main-master-group
controls: deprecate [Master],audio_latency_.. -> [App] group
2 parents 9848f8a + 848c97e commit bc1e5b7

2 files changed

Lines changed: 80 additions & 35 deletions

File tree

source/chapters/appendix/mixxx_controls.rst

Lines changed: 72 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,40 @@ The ``[App]`` group
104104

105105
The :mixxx:cogroupref:`[App]` group contains controls that do not belong to a specific channel, the mixer or the effects engine.
106106

107+
.. mixxx:control:: [App],audio_latency_usage
108+
109+
Reflects fraction of :term:`latency`, given by the audio buffer size, spend for audio processing inside Mixxx.
110+
At value near 25 % there is a high risk of buffer underflows.
111+
112+
:range: 0 .. 25 %
113+
:feedback: latency meter
114+
115+
.. versionadded:: 2.4.0
116+
Replaces the deprecated :mixxx:coref:`[Master],audio_latency_usage` control.
117+
118+
119+
.. mixxx:control:: [App],audio_latency_overload
120+
121+
Indicates a buffer under or over-flow. Resets after 500 ms.
122+
123+
:range: binary
124+
:feedback: Overload indicator
125+
126+
.. versionadded:: 2.4.0
127+
Replaces the deprecated :mixxx:coref:`[Master],audio_latency_overload` control.
128+
129+
130+
.. mixxx:control:: [App],audio_latency_overload_count
131+
132+
Counts buffer over and under-flows, maximum one per 500 ms.
133+
The count is displayed in Preferences -> Sound Hardware.
134+
135+
:range: 0 .. n
136+
:feedback: Counter in hardware preferences
137+
138+
.. versionadded:: 2.4.0
139+
Replaces the deprecated :mixxx:coref:`[Master],audio_latency_overload_count` control.
140+
107141

108142

109143
.. mixxx:control:: [App],gui_tick_50ms_period_s
@@ -235,35 +269,6 @@ The ``[Master]`` group
235269
The :mixxx:cogroupref:`[Master]` group generally corresponds to controls that affect the mixing engine.
236270
This will bear some similarity to what you will find on a DJ mixer (e.g. :term:`crossfader` controls, headphone cueing controls, etc.).
237271

238-
.. mixxx:control:: [Master],audio_latency_usage
239-
240-
Reflects fraction of :term:`latency`, given by the audio buffer size, spend for audio processing inside Mixxx. At value near 25 % there is a high risk of buffer underflows
241-
242-
:range: 0 .. 25 %
243-
:feedback: latency meter
244-
245-
.. versionadded:: 2.0.0
246-
247-
248-
.. mixxx:control:: [Master],audio_latency_overload
249-
250-
Indicates a buffer under or over-flow. Resets after 500 ms
251-
252-
:range: binary
253-
:feedback: Overload indicator
254-
255-
.. versionadded:: 2.0.0
256-
257-
258-
.. mixxx:control:: [Master],audio_latency_overload_count
259-
260-
Counts buffer over and under-flows. Max one per 500 ms
261-
262-
:range: 0 .. n
263-
:feedback: Counter in hardware preferences
264-
265-
.. versionadded:: 2.0.0
266-
267272

268273
.. mixxx:control:: [Master],balance
269274
@@ -4375,6 +4380,44 @@ Deprecated controls
43754380
These controls have been deprecated and may be removed in a future version of Mixxx.
43764381
In the meantime, skins and controller mappings that still use them will keep working, but using the suggested alternatives is strongly recommended.
43774382

4383+
.. mixxx:control:: [Master],audio_latency_usage
4384+
4385+
Reflects fraction of :term:`latency`, given by the audio buffer size, spend for audio processing inside Mixxx.
4386+
At value near 25 % there is a high risk of buffer underflows.
4387+
4388+
:range: 0 .. 25 %
4389+
:feedback: latency meter
4390+
4391+
.. versionadded:: 2.0.0
4392+
.. deprecated:: 2.4.0
4393+
Use :mixxx:coref:`[App],audio_latency_usage` instead.
4394+
4395+
4396+
.. mixxx:control:: [Master],audio_latency_overload
4397+
4398+
Indicates a buffer under or over-flow. Resets after 500 ms.
4399+
4400+
:range: binary
4401+
:feedback: Overload indicator
4402+
4403+
.. versionadded:: 2.0.0
4404+
.. deprecated:: 2.4.0
4405+
Use :mixxx:coref:`[App],audio_latency_overload` instead.
4406+
4407+
4408+
.. mixxx:control:: [Master],audio_latency_overload_count
4409+
4410+
Counts buffer over- and underflows, maximum one per 500 ms.
4411+
See :ref:`preferences-sound-other-options` for details.
4412+
The count is displayed in Preferences -> Sound Hardware.
4413+
4414+
:range: 0 .. n
4415+
:feedback: Counter in hardware preferences
4416+
4417+
.. versionadded:: 2.0.0
4418+
.. deprecated:: 2.4.0
4419+
Use :mixxx:coref:`[App],audio_latency_overload_count` instead.
4420+
43784421
.. mixxx:control:: [Master],guiTick50ms
43794422
43804423
A throttled timer that provides the time elapsed in seconds since Mixxx was started.

source/chapters/preferences/sound_hardware.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ macOS
155155
^^^^^
156156
CoreAudio is the only Sound API on macOS.
157157

158+
.. _preferences-sound-other-options:
159+
158160
Other Sound Hardware options
159161
----------------------------
160162
* **Multi-Soundcard Synchronization**: Mixxx is able to use two or more
@@ -177,12 +179,12 @@ Other Sound Hardware options
177179
in stereo because of speaker placement or playing in a space with lots of
178180
reverberation.
179181

180-
* **Buffer Underflow Count**: Underflows (data is not available when needed)
181-
indicate that some of the subsystems in Mixxx can't keep up with real-time
182-
deadlines imposed by the current audio buffer size. This is useful to tune the
183-
latency settings. If the counter increases, then increase your audio buffer
184-
size, decrease the sample rate setting or change the sound API setting if
185-
available.
182+
* **Buffer Underflow Count**: This counts overflows in output buffers or underflows
183+
in input buffers, indicating either the output device(s) can't consume audio data
184+
generated by the engine fast enough, or the input device(s) can't provide audio data
185+
as fast as required by the current audio buffer size. If the counter increases,
186+
you may try to increase your audio buffer size, decrease the sample rate setting,
187+
change the sound API available or try another keylock/pitch-bend engine.
186188

187189
Output and Input Devices
188190
------------------------

0 commit comments

Comments
 (0)