qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] QEMU VNC Audio - All audio data null


From: agraham
Subject: Re: [Qemu-devel] QEMU VNC Audio - All audio data null
Date: Mon, 16 Jul 2012 20:58:46 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]