summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source/commandline
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2025-05-31 17:04:19 +0200
committer hap <happppp@users.noreply.github.com>2025-05-31 17:04:28 +0200
commit01cdde101fcfc54e77d240d5e34b3e35ab624a08 (patch)
tree1a4bb2358db259ed2fb16cd038ccba10ee47359d /docs/source/commandline
parentd2bfb8c3f4fa8d8f6e39c20c55d20ede8c4cd950 (diff)
sound: change audio_latency meaning similar to what it was before (20ms steps for portaudio, xaudio2, wasapi), old mame.ini default setting of 2 should work fine
Diffstat (limited to 'docs/source/commandline')
-rw-r--r--docs/source/commandline/commandline-all.rst15
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/source/commandline/commandline-all.rst b/docs/source/commandline/commandline-all.rst
index 8ee84ae9a27..d96e4536739 100644
--- a/docs/source/commandline/commandline-all.rst
+++ b/docs/source/commandline/commandline-all.rst
@@ -3065,22 +3065,23 @@ Core Sound Options
**-audio_latency** *<value>* / **-alat** *<value>*
- Audio latency in seconds, up to a maximum of 0.5 seconds. Smaller values
- provide less audio delay while requiring better system performance. Larger
- values increase audio delay but may help avoid buffer under-runs and audio
- interruptions. A value of 0.0 will use the default for the selected sound
- module.
+ Audio latency, conventionally in number of audio frames (1 audio frame is 20ms).
+ It is not required to supply whole numbers, eg. a value of ``1.5`` is 30ms).
+ Smaller values provide less audio delay while requiring better system
+ performance. Larger values increase audio delay but may help avoid buffer
+ under-runs and audio interruptions. A value of ``0`` will use the default
+ for the selected sound module.
You may need to change the value of this option if you change the sound module
using the :ref:`sound option <mame-commandline-sound>`. This option is
unsupported on sound modules ``pipewire``, ``pulse``, ``sdl``.
- The default is ``0.0``.
+ The default is ``0``.
Example:
.. code-block:: bash
- mame galaga -audio_latency 0.1
+ mame galaga -audio_latency 2
.. _mame-commandline-inputoptions: