qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH] spice: add audio


From: Gerd Hoffmann
Subject: [Qemu-devel] Re: [PATCH] spice: add audio
Date: Tue, 09 Nov 2010 17:56:33 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100827 Red Hat/3.1.3-1.el6 Thunderbird/3.1.3

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]