[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 3/4] audio: paaudio: fix client name
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH v2 3/4] audio: paaudio: fix client name |
Date: |
Tue, 27 Aug 2019 07:37:56 +0200 |
User-agent: |
NeoMutt/20180716 |
On Mon, Aug 26, 2019 at 09:59:03PM +0200, Kővágó, Zoltán wrote:
> pa_context_new expects a client name, not a server socket path.
>
> Signed-off-by: Kővágó, Zoltán <address@hidden>
> Reviewed-by: Maxim Levitsky <address@hidden>
> ---
> audio/paaudio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/audio/paaudio.c b/audio/paaudio.c
> index bfef9acaad..777b8e4718 100644
> --- a/audio/paaudio.c
> +++ b/audio/paaudio.c
> @@ -866,7 +866,7 @@ static void *qpa_conn_init(const char *server)
> }
>
> c->context = pa_context_new(pa_threaded_mainloop_get_api(c->mainloop),
> - server);
> + "qemu");
qemu_get_vm_name() would be a better default (returns the name set by
the user using "qemu -name $whatever", can be NULL if unset).
cheers,
Gerd
- [Qemu-devel] [PATCH v2 0/4] Audio: misc fixes for "Audio 20190821 patches", Kővágó, Zoltán, 2019/08/26
- [Qemu-devel] [PATCH v2 1/4] audio: fix invalid malloc size in audio_create_pdos, Kővágó, Zoltán, 2019/08/26
- [Qemu-devel] [PATCH v2 3/4] audio: paaudio: fix client name, Kővágó, Zoltán, 2019/08/26
- Re: [Qemu-devel] [PATCH v2 3/4] audio: paaudio: fix client name,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH v2 2/4] audio: omitting audiodev= parameter is only deprecated, Kővágó, Zoltán, 2019/08/26
- [Qemu-devel] [PATCH v2 4/4] audio: paaudio: ability to specify stream name, Kővágó, Zoltán, 2019/08/26