From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSt3E-0006sI-7L for qemu-devel@nongnu.org; Fri, 21 Aug 2015 16:36:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSt3A-0007GD-4R for qemu-devel@nongnu.org; Fri, 21 Aug 2015 16:36:36 -0400 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:33427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSt39-0007G2-U4 for qemu-devel@nongnu.org; Fri, 21 Aug 2015 16:36:32 -0400 Received: by wijp15 with SMTP id p15so28712296wij.0 for ; Fri, 21 Aug 2015 13:36:31 -0700 (PDT) From: "=?UTF-8?q?K=C5=91v=C3=A1g=C3=B3=2C=20Zolt=C3=A1n?=" Date: Fri, 21 Aug 2015 22:36:28 +0200 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v2 0/9] audio: multi channel audio support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann This patch series adds support to more than two channels of audio (5.1, 7.1, etc.). Currently only usb-audio frontend and alsa and pa backends are updated. Using more than two channels requires turning off mixeng (-audiodev backend,id=foo,out.mixeng=off,...). For backward compatibility reasons, you have to specify multi=on when creating the usb-audio device: -device usb-audio,id=foo,multi=on,... Please review. Kővágó, Zoltán (9): audio: add mixeng option (documentation) audio: make mixeng optional paaudio: get/put_buffer functions audio: support more than two channels in volume setting audio: replace shift in audio_pcm_info with bytes_per_frame audio: basic support for multichannel audio paaudio: channel-map option usb-audio: do not count on avail bytes actually available usb-audio: support more than two channels of audio audio/alsaaudio.c | 17 +- audio/audio.c | 176 +++++++++++++------ audio/audio.h | 10 ++ audio/audio_int.h | 7 +- audio/audio_template.h | 22 ++- audio/coreaudio.c | 4 +- audio/dsound_template.h | 10 +- audio/dsoundaudio.c | 4 +- audio/noaudio.c | 2 +- audio/ossaudio.c | 14 +- audio/paaudio.c | 121 +++++++++++-- audio/spiceaudio.c | 19 ++- audio/wavaudio.c | 6 +- hw/usb/dev-audio.c | 446 +++++++++++++++++++++++++++++++++++++++++------- qapi/audio.json | 10 +- qemu-options.hx | 15 ++ 16 files changed, 703 insertions(+), 180 deletions(-) -- 2.5.0