[Qemu-devel] [PATCH 07/11] audio/spice: add support for volume control

2012-03-12 Thread Marc-André Lureau
Use Spice server volume control API when available. --- audio/spiceaudio.c | 41 + 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/audio/spiceaudio.c b/audio/spiceaudio.c index f972110..92964ae 100644 --- a/audio/spiceaudio.c +++

[Qemu-devel] [PATCH 07/11] audio/spice: add support for volume control

2012-03-01 Thread Marc-André Lureau
--- audio/spiceaudio.c | 41 + 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/audio/spiceaudio.c b/audio/spiceaudio.c index f972110..92964ae 100644 --- a/audio/spiceaudio.c +++ b/audio/spiceaudio.c @@ -202,7 +202,26 @@ static int

Re: [Qemu-devel] [PATCH 07/11] audio/spice: add support for volume control

2011-10-13 Thread Marc-André Lureau
Hi On Tue, Oct 11, 2011 at 10:49 AM, Gerd Hoffmann kra...@redhat.com wrote: +#else +#warning Spice playback volume unsupported +#endif +#else +#warning Spice record volume unsupported +#endif One warning is enougth.  But given that qemu builds with -Werror by default printing a warning

[Qemu-devel] [PATCH 07/11] audio/spice: add support for volume control

2011-10-13 Thread Marc-André Lureau
Changes since v1: - remove #warning since qemu has -Werror by default - do not claim VOICE_VOLUME_CAP if spice doesn't support it --- audio/spiceaudio.c | 41 + 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/audio/spiceaudio.c

Re: [Qemu-devel] [PATCH 07/11] audio/spice: add support for volume control

2011-10-11 Thread Gerd Hoffmann
Hi, +#else +#warning Spice playback volume unsupported +#endif +#else +#warning Spice record volume unsupported +#endif One warning is enougth. But given that qemu builds with -Werror by default printing a warning just because of an older spice-server version is a bad idea IMHO. @@

[Qemu-devel] [PATCH 07/11] audio/spice: add support for volume control

2011-09-21 Thread Marc-André Lureau
--- audio/spiceaudio.c | 43 +++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/audio/spiceaudio.c b/audio/spiceaudio.c index f972110..2df0957 100644 --- a/audio/spiceaudio.c +++ b/audio/spiceaudio.c @@ -202,7 +202,28 @@ static int