From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=56424 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PFs6Q-0007cj-03 for qemu-devel@nongnu.org; Tue, 09 Nov 2010 12:35:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PFs6L-0005FM-67 for qemu-devel@nongnu.org; Tue, 09 Nov 2010 12:35:25 -0500 Received: from fe02x03-cgp.akado.ru ([77.232.31.165]:49835 helo=akado.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PFs6K-0005Eq-TG for qemu-devel@nongnu.org; Tue, 09 Nov 2010 12:35:21 -0500 Date: Tue, 9 Nov 2010 20:35:11 +0300 (MSK) From: malc In-Reply-To: <4CD97D41.4040409@redhat.com> Message-ID: References: <1289320186-16972-1-git-send-email-kraxel@redhat.com> <4CD97D41.4040409@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: Gerd Hoffmann Cc: qemu-devel@nongnu.org On Tue, 9 Nov 2010, Gerd Hoffmann wrote: > 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. > Thanks. -- mailto:av1474@comtv.ru