From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=57085 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PFrV2-0007U5-4R for qemu-devel@nongnu.org; Tue, 09 Nov 2010 11:56:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PFrUx-0004YA-HL for qemu-devel@nongnu.org; Tue, 09 Nov 2010 11:56:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:32385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PFrUx-0004Xq-5S for qemu-devel@nongnu.org; Tue, 09 Nov 2010 11:56:43 -0500 Message-ID: <4CD97D41.4040409@redhat.com> Date: Tue, 09 Nov 2010 17:56:33 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1289320186-16972-1-git-send-email-kraxel@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] spice: add audio List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: qemu-devel@nongnu.org On 11/09/10 17:36, malc wrote: > On Tue, 9 Nov 2010, Gerd Hoffmann wrote: > >> Add support for the spice audio interface. With this patch applied >> audio can be forwarded over the network from/to the spice client. Both >> recording and playback is supported. >> >> The driver is first in the driver list, but the can_be_default flag is >> set only in case spice is active. So if you have the spice protocol >> enabled the spice audio driver is the default one, otherwise whatever >> comes first after spice in the list. Overriding the default using >> QEMU_AUDIO_DRV works in any case. >> >> [ v2: audio codestyle: add spaces before open parenthesis ] >> [ v2: add const to silence array ] > > Is this somehow testable? /me guesses there are no pre-built spice packages for your linux system, so you have to build spice yourself. In short: * Fetch, build + install celt, version 0.5.1 is needed. * Fetch, build + install spice-protocol * Fetch, build + install spice You can download the bits from: http://www.celt-codec.org/ http://www.spice-space.org/ With this in place you should be able to build qemu with spice support (configure should detect it). The add '-spice port=$number,disable-ticketing' to your qemu command line. Start spice client (part of the spice package) this way: spicec -h localhost -p $number Note that spice doesn't work (yet) on bigendian machines, so don't try that on your ppc box. cheers, Gerd