From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqgQp-0005jf-Eu for qemu-devel@nongnu.org; Mon, 16 Jul 2012 04:13:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SqgQl-0005uB-5k for qemu-devel@nongnu.org; Mon, 16 Jul 2012 04:13:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqgQk-0005u7-Tn for qemu-devel@nongnu.org; Mon, 16 Jul 2012 04:13:23 -0400 Date: Mon, 16 Jul 2012 09:12:45 +0100 From: "Daniel P. Berrange" Message-ID: <20120716081245.GC9001@redhat.com> References: <5001EFAE.1020009@g-b.net> <5001F5F3.8080103@g-b.net> <5001FD2C.6090205@g-b.net> <50031858.1030007@g-b.net> <50037811.5030200@g-b.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <50037811.5030200@g-b.net> Subject: Re: [Qemu-devel] QEMU VNC Audio - All audio data null Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: agraham Cc: qemu-devel@nongnu.org On Mon, Jul 16, 2012 at 03:10:25AM +0100, agraham wrote: > On 07/16/2012 01:03 AM, malc wrote: > >On Sun, 15 Jul 2012, agraham wrote: > > > >[..snip..] > > > >> > >>I've found the root cause and hopefully you should be able to reproduce the > >>issue. > >> > >>There was a configure option introduced called "--enable-mixemu". > >> > >>--enable-mixemu enable mixer emulation > > > >Try this > > > >diff --git a/audio/audio.c b/audio/audio.c > >index 583ee51..1c77389 100644 > >--- a/audio/audio.c > >+++ b/audio/audio.c > >@@ -818,6 +818,7 @@ static int audio_attach_capture (HWVoiceOut *hw) > > sw->active = hw->enabled; > > sw->conv = noop_conv; > > sw->ratio = ((int64_t) hw_cap->info.freq<< 32) / sw->info.freq; > >+ sw->vol = nominal_volume; > > sw->rate = st_rate_start (sw->info.freq, hw_cap->info.freq); > > if (!sw->rate) { > > dolog ("Could not start rate conversion for `%s'\n", SW_NAME (sw)); > > > >[..snip..] > > > > :) > > I'm as happy as Larry, works great, Please do file a bug against Fedora for this problem, so that our maintainers sort it out Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|