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

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.

  reply	other threads:[~2012-07-16  2:10 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
2012-07-16  2:10                               ` agraham [this message]
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=50037811.5030200@g-b.net \
    --to=agraham@g-b.net \
    --cc=av1474@comtv.ru \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.