qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: malc <av1474@comtv.ru>
To: agraham <agraham@g-b.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] QEMU VNC Audio - All audio data null
Date: Mon, 16 Jul 2012 04:03:26 +0400 (MSK)	[thread overview]
Message-ID: <alpine.LNX.2.00.1207160402410.6203@linmac> (raw)
In-Reply-To: <50031858.1030007@g-b.net>

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

  parent reply	other threads:[~2012-07-16  0:03 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-14  2:17 [Qemu-devel] QEMU VNC Audio - All audio data null agraham
2012-07-14  5:37 ` agraham
2012-07-14 10:44   ` malc
2012-07-14 12:55     ` agraham
2012-07-14 17:10       ` agraham
2012-07-14 17:20         ` malc
2012-07-14 19:30           ` agraham
2012-07-14 20:09             ` malc
2012-07-14 22:16               ` agraham
2012-07-14 22:23                 ` malc
2012-07-14 22:42                   ` agraham
2012-07-14 22:52                     ` agraham
2012-07-14 23:23                       ` malc
2012-07-14 23:01                     ` malc
2012-07-14 23:13                       ` agraham
2012-07-14 23:21                         ` malc
2012-07-15 19:22                           ` agraham
2012-07-15 19:48                             ` malc
2012-07-16  0:03                             ` malc [this message]
2012-07-16  2:10                               ` agraham
2012-07-16  8:12                                 ` Daniel P. Berrange
2012-07-16 10:56                                   ` agraham
2012-07-16 19:58                                   ` agraham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.00.1207160402410.6203@linmac \
    --to=av1474@comtv.ru \
    --cc=agraham@g-b.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).