summaryrefslogtreecommitdiffstatshomepage
path: root/docs/source/commandline
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2025-05-18 14:32:36 +0200
committer hap <happppp@users.noreply.github.com>2025-05-18 14:32:45 +0200
commitb50e41e8579c1e0b9ddea0620c65a748b7bc0a04 (patch)
tree277adabcb4149dab2afa9251eb31d3f7fb8df497 /docs/source/commandline
parente889eb48e1cd822956f4872455ae57708470d032 (diff)
sound: change audio_latency duration option to milliseconds
Diffstat (limited to 'docs/source/commandline')
-rw-r--r--docs/source/commandline/commandline-all.rst19
1 files changed, 7 insertions, 12 deletions
diff --git a/docs/source/commandline/commandline-all.rst b/docs/source/commandline/commandline-all.rst
index 59fd05ff992..7d443b02943 100644
--- a/docs/source/commandline/commandline-all.rst
+++ b/docs/source/commandline/commandline-all.rst
@@ -3026,23 +3026,18 @@ Core Sound Options
**-audio_latency** *<value>*
- The exact behavior depends on the selected audio output module. Smaller
- values provide less audio delay while requiring better system performance.
- Higher values increase audio delay but may help avoid buffer under-runs and
- audio interruptions.
+ Audio latency in milliseconds, up to a maximum of 1 second. Smaller values
+ provide less audio delay while requiring better system performance.
+ Higher values increase audio delay but may help avoid buffer under-runs
+ and audio interruptions. A value of 0 will automatically pick a sane value,
+ depending on the selected audio output module.
- The default is ``1``.
-
- * For PortAudio, see the section on :ref:`-pa_latency <mame-commandline-palatency>`.
- * XAudio2 calculates audio_latency as 10ms steps.
- * DSound calculates audio_latency as 10ms steps.
- * CoreAudio calculates audio_latency as 25ms steps.
- * SDL calculates audio_latency as Xms steps.
+ The default is ``0``.
Example:
.. code-block:: bash
- mame galaga -audio_latency 1
+ mame galaga -audio_latency 100
.. _mame-commandline-inputoptions: