Received: from eggs.gnu.org ([208.118.235.92]:40107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7AKK-0006n2-Jp for qemu-devel@nongnu.org; Mon, 12 Mar 2012 14:50:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7AKF-0008It-RG for qemu-devel@nongnu.org; Mon, 12 Mar 2012 14:50:36 -0400 Received: from mail-ee0-f45.google.com ([74.125.83.45]:58705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7AKF-0008IV-Hq for qemu-devel@nongnu.org; Mon, 12 Mar 2012 14:50:31 -0400 Received: by eeit10 with SMTP id t10so1686104eei.4 for ; Mon, 12 Mar 2012 11:50:29 -0700 (PDT) From: "=?UTF-8?q?Marc-Andr=C3=A9=20Lureau?=" Date: Mon, 12 Mar 2012 19:50:00 +0100 Message-Id: <1331578211-18232-1-git-send-email-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 00/11] apply volume on client side (v3) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , dnb@redhat.com, dlaor@redhat.com, kraxel@redhat.com Hello, This patch series implements client-side audio volume support. This reduces confusion of guest users when volume control is not effective (because mixemu is disabled or because client-side is muted and can't be unmuted by the guest..) Instead, the backend is responsible for applying volume giving the guest control over the full range of the client, and avoiding multiple level of volume/mute effects. Although I was mainly interested in having the Spice audio backend support, I also added PulseAudio backend support (which unfortunately requires full-blown API, even after quick discussion with upstream). Marc-André Lureau (11): audio: add VOICE_VOLUME ctl audio: don't apply volume effect if backend has VOICE_VOLUME_CAP audio: use a nominal volume of UINT_MAX hw/ac97: remove USE_MIXER code hw/ac97: the volume mask is not only 0x1f hw/ac97: add support for volume control audio/spice: add support for volume control Do not use pa_simple PulseAudio API configure: pa_simple is not needed anymore Allow controlling volume with PulseAudio backend Make mixemu mandatory audio/audio.c | 25 +++- audio/audio_int.h | 6 + audio/audio_template.h | 2 + audio/mixeng.c | 6 - audio/paaudio.c | 452 +++++++++++++++++++++++++++++++++++++++++++----- audio/spiceaudio.c | 41 +++++ configure | 14 +-- hw/ac97.c | 141 ++++++---------- hw/hda-audio.c | 4 - 9 files changed, 531 insertions(+), 160 deletions(-) -- 1.7.7.6