qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: malc <av1474@comtv.ru>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH] spice: add audio
Date: Tue, 09 Nov 2010 17:56:33 +0100	[thread overview]
Message-ID: <4CD97D41.4040409@redhat.com> (raw)
In-Reply-To: <alpine.LNX.2.00.1011091936290.5372@linmac>

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	other threads:[~2010-11-09 16:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-09 16:29 [Qemu-devel] [PATCH] spice: add audio Gerd Hoffmann
2010-11-09 16:36 ` [Qemu-devel] " malc
2010-11-09 16:56   ` Gerd Hoffmann [this message]
2010-11-09 17:35     ` malc
2010-11-09 20:55 ` malc
     [not found] <20101109211021.45EC22A34D@zimbra14-e2.priv.proxad.net>
2010-11-09 22:27 ` François Revol
2010-11-09 23:31   ` malc
2010-11-10  9:48   ` Gerd Hoffmann
2010-11-10 10:36     ` Daniel P. Berrange
2010-11-10 11:37       ` Gerd Hoffmann
2010-11-10 11:50         ` Daniel P. Berrange
2010-11-10 13:21           ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CD97D41.4040409@redhat.com \
    --to=kraxel@redhat.com \
    --cc=av1474@comtv.ru \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).