From: "Zoltán Kővágó" <dirty.ice.hu@gmail.com>
To: Maxim Levitsky <mlevitsk@redhat.com>,
Gerd Hoffmann <kraxel@redhat.com>,
qemu-devel@nongnu.org
Cc: "Daniel P. Berrangé" <berrange@redhat.com>,
"Eduardo Habkost" <ehabkost@redhat.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
"Markus Armbruster" <armbru@redhat.com>,
"Michael Walle" <michael@walle.cc>,
"Pavel Dovgalyuk" <pavel.dovgaluk@ispras.ru>,
"Paolo Bonzini" <pbonzini@redhat.com>
Subject: Re: [Qemu-devel] [PULL 07/15] audio: audiodev= parameters no longer optional when -audiodev present
Date: Sun, 25 Aug 2019 20:05:02 +0200 [thread overview]
Message-ID: <cc1b515e-de9b-8bb0-d1e1-94f038420853@gmail.com> (raw)
In-Reply-To: <01aadba9669734bfde832a01bb62f7746a57f905.camel@redhat.com>
On 2019-08-25 11:44, Maxim Levitsky wrote:
> On Wed, 2019-08-21 at 10:41 +0200, Gerd Hoffmann wrote:
>> From: Kővágó, Zoltán <dirty.ice.hu@gmail.com>
>>
>> This means you should probably stop using -soundhw (as it doesn't allow
>> you to specify any options) and add the device manually with -device.
>> The exception is pcspk, it's currently not possible to manually add it.
>> To use it with audiodev, use something like this:
>>
>> -audiodev id=foo,... -global isa-pcspk.audiodev=foo -soundhw pcspk
>
> Hi!
Hi,
> There is one corner case this breaks.
> In qemu 4.1.0, there is no way to specify audiodev for a sound device, specifying it
> fails with error.
> So some of my machines have audiodev (which is miles better that using old env variables)
> but also have sound devices without audiodev reference since this wasn't supported.
>
>
> In what will be qemu 4.2, you must specify it, thus this kind of breaks backward compatibility.
> Maybe we can have audiodev reference optional for a version or two?
>
> This is just a minor itch, as otherwise the sound improvements are really good. The days
> of installing that old realtek driver are finally gone :-)
Hmm, this is what happens when you split a patch series. We could
either revert this patch, or alternatively turn the error messages into
warnings about using deprecated behavior.
> Another thing I noted, that there is no way for pulseaudio audiodev to specify the 'client name',
> it always shows up in pavucontrl as the socket path to the server.
> Thus if I added two PA audiodevs, I can't really distinguish between them.
> The in|out.name= seems to specify the pulseaudio source/sink to connect to, which is not the same.
We currently supply the constant "qemu" as a name to pa_stream_new.
While it's still not ideal, shouldn't this end up as a client name in
pulseaudio instead of a socket path?
Regards,
Zoltan
next prev parent reply other threads:[~2019-08-25 18:06 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-21 8:40 [Qemu-devel] [PULL 00/15] Audio 20190821 patches Gerd Hoffmann
2019-08-21 8:40 ` [Qemu-devel] [PULL 01/15] audio: Add missing fall through comments Gerd Hoffmann
2019-08-21 8:41 ` [Qemu-devel] [PULL 02/15] audio: reduce glob_audio_state usage Gerd Hoffmann
2019-08-21 8:41 ` [Qemu-devel] [PULL 03/15] audio: basic support for multi backend audio Gerd Hoffmann
2019-09-09 17:18 ` Peter Maydell
2019-08-21 8:41 ` [Qemu-devel] [PULL 04/15] audio: add audiodev property to vnc and wav_capture Gerd Hoffmann
2019-08-21 8:41 ` [Qemu-devel] [PULL 05/15] audio: add audiodev properties to frontends Gerd Hoffmann
2019-08-21 8:41 ` [Qemu-devel] [PULL 06/15] paaudio: prepare for multiple audiodev Gerd Hoffmann
2019-08-21 8:41 ` [Qemu-devel] [PULL 07/15] audio: audiodev= parameters no longer optional when -audiodev present Gerd Hoffmann
2019-08-25 9:44 ` Maxim Levitsky
2019-08-25 18:05 ` Zoltán Kővágó [this message]
2019-08-25 22:15 ` Maxim Levitsky
2019-08-25 23:34 ` Zoltán Kővágó
2019-08-21 8:41 ` [Qemu-devel] [PULL 08/15] paaudio: do not move stream when sink/source name is specified Gerd Hoffmann
2019-08-21 8:41 ` [Qemu-devel] [PULL 09/15] paaudio: properly disconnect streams in fini_* Gerd Hoffmann
2019-08-21 8:41 ` [Qemu-devel] [PULL 10/15] audio: remove audio_MIN, audio_MAX Gerd Hoffmann
2019-08-21 8:41 ` [Qemu-devel] [PULL 11/15] audio: do not run each backend in audio_run Gerd Hoffmann
2019-08-21 8:41 ` [Qemu-devel] [PULL 12/15] paaudio: fix playback glitches Gerd Hoffmann
2019-08-21 8:41 ` [Qemu-devel] [PULL 13/15] audio: remove read and write pcm_ops Gerd Hoffmann
2019-08-21 8:41 ` [Qemu-devel] [PULL 14/15] audio: use size_t where makes sense Gerd Hoffmann
2019-08-21 8:41 ` [Qemu-devel] [PULL 15/15] audio: fix memory leak reported by ASAN Gerd Hoffmann
2019-08-21 15:58 ` [Qemu-devel] [PULL 00/15] Audio 20190821 patches Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cc1b515e-de9b-8bb0-d1e1-94f038420853@gmail.com \
--to=dirty.ice.hu@gmail.com \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=dgilbert@redhat.com \
--cc=ehabkost@redhat.com \
--cc=kraxel@redhat.com \
--cc=michael@walle.cc \
--cc=mlevitsk@redhat.com \
--cc=pavel.dovgaluk@ispras.ru \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).