From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqYml-00078h-IC for qemu-devel@nongnu.org; Sun, 15 Jul 2012 20:03:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SqYmj-0007x6-Kf for qemu-devel@nongnu.org; Sun, 15 Jul 2012 20:03:35 -0400 Received: from fe01x03-cgp.akado.ru ([77.232.31.164]:51933 helo=akado.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SqYmj-0007wc-Cz for qemu-devel@nongnu.org; Sun, 15 Jul 2012 20:03:33 -0400 Date: Mon, 16 Jul 2012 04:03:26 +0400 (MSK) From: malc In-Reply-To: <50031858.1030007@g-b.net> Message-ID: 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> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [Qemu-devel] QEMU VNC Audio - All audio data null List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: agraham Cc: qemu-devel@nongnu.org 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..] -- mailto:av1474@comtv.ru