Message ID | 20190918095335.7646-3-stefanha@redhat.com |
---|---|
State | New |
Headers | show |
Series | audio: -audiodev documentation tweaks | expand |
On Wed, Sep 18, 2019 at 10:53:34AM +0100, Stefan Hajnoczi wrote: > The "latency" parameter wasn't covered by the documentation. Doesn't apply cleanly (on top of the surround sound patch series). Picked the other two into the pull request. Please rebase & resend once this is merged. thanks, Gerd > > Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> > --- > qemu-options.hx | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/qemu-options.hx b/qemu-options.hx > index a4f9f74f52..6d7fe57dd4 100644 > --- a/qemu-options.hx > +++ b/qemu-options.hx > @@ -470,6 +470,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" > @@ -630,6 +631,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}][,...]] > -- > 2.21.0 >
diff --git a/qemu-options.hx b/qemu-options.hx index a4f9f74f52..6d7fe57dd4 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -470,6 +470,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" @@ -630,6 +631,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}][,...]]
The "latency" parameter wasn't covered by the documentation. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> --- qemu-options.hx | 5 +++++ 1 file changed, 5 insertions(+)