]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
audio: add -audiodev pa,in|out.latency= to documentation
authorStefan Hajnoczi <stefanha@redhat.com>
Fri, 4 Oct 2019 12:56:41 +0000 (13:56 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 6 Nov 2019 07:08:10 +0000 (08:08 +0100)
The "latency" parameter wasn't covered by the documentation.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20191004125641.24383-1-stefanha@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
qemu-options.hx

index 1fc2470e2fd4263605661049996beea2af8d450b..ee4a099e252f2b62a5dab666c1c1dbee35590425 100644 (file)
@@ -471,6 +471,7 @@ DEF("audiodev", HAS_ARG, QEMU_OPTION_audiodev,
     "-audiodev pa,id=id[,prop[=value][,...]]\n"
     "                server= PulseAudio server address\n"
     "                in|out.name= source/sink device name\n"
+    "                in|out.latency= desired latency in microseconds\n"
 #endif
 #ifdef CONFIG_AUDIO_SDL
     "-audiodev sdl,id=id[,prop[=value][,...]]\n"
@@ -645,6 +646,10 @@ Sets the PulseAudio @var{server} to connect to.
 @item in|out.name=@var{sink}
 Use the specified source/sink for recording/playback.
 
+@item in|out.latency=@var{usecs}
+Desired latency in microseconds.  The PulseAudio server will try to honor this
+value but actual latencies may be lower or higher.
+
 @end table
 
 @item -audiodev sdl,id=@var{id}[,@var{prop}[=@var{value}][,...]]