From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqrRm-0005fD-VF for qemu-devel@nongnu.org; Mon, 16 Jul 2012 15:59:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SqrRl-0005Wi-S3 for qemu-devel@nongnu.org; Mon, 16 Jul 2012 15:59:10 -0400 Received: from mail1.g-b.net ([64.191.66.247]:37760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqrRl-0005UH-No for qemu-devel@nongnu.org; Mon, 16 Jul 2012 15:59:09 -0400 Message-ID: <50047276.4080301@g-b.net> Date: Mon, 16 Jul 2012 20:58:46 +0100 From: agraham MIME-Version: 1.0 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> <20120716081245.GC9001@redhat.com> In-Reply-To: <20120716081245.GC9001@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] QEMU VNC Audio - All audio data null Reply-To: agraham@g-b.net List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: qemu-devel@nongnu.org On 07/16/2012 09:12 AM, Daniel P. Berrange wrote: > 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 done. https://bugzilla.redhat.com/show_bug.cgi?id=840653