From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqalf-0001CD-1N for qemu-devel@nongnu.org; Sun, 15 Jul 2012 22:10:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sqale-0001kT-3b for qemu-devel@nongnu.org; Sun, 15 Jul 2012 22:10:34 -0400 Received: from mail1.g-b.net ([64.191.66.247]:45241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sqald-0001kC-Vv for qemu-devel@nongnu.org; Sun, 15 Jul 2012 22:10:34 -0400 Message-ID: <50037811.5030200@g-b.net> Date: Mon, 16 Jul 2012 03:10:25 +0100 From: agraham MIME-Version: 1.0 References: <5000D6CE.80407@g-b.net> <50010582.8020004@g-b.net> <50016C32.6000906@g-b.net> <5001A805.8020403@g-b.net> <5001C8D5.30806@g-b.net> <5001EFAE.1020009@g-b.net> <5001F5F3.8080103@g-b.net> <5001FD2C.6090205@g-b.net> <50031858.1030007@g-b.net> In-Reply-To: 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: malc Cc: qemu-devel@nongnu.org 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, Thank you so much. Albert.