qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: malc <av1474@comtv.ru>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH] alsaaudio: increase default buffer sizes
Date: Thu, 8 May 2008 21:44:23 +0400 (MSD)	[thread overview]
Message-ID: <Pine.LNX.4.64.0805082139400.2147@linmac.oyster.ru> (raw)
In-Reply-To: <48222C3A.1050607@web.de>

On Thu, 8 May 2008, Jan Kiszka wrote:

> malc wrote:
>> On Tue, 6 May 2008, Jan Kiszka wrote:
>>

[..snip..]

> And those suffer audibly if you increase QEMU_ALSA_DAC_BUFFER_SIZE?

The latency becomes noticable the audio should be okay.

>>
>>>>
>>>>>
>>>>>> you and this other user on some (kvm was it) mailing list there are no
>>>>>> huge outcries of dissatisfaction, then again i'm not sure how many
>>>>>> people
>>>>>> use ALSA+QEMU or QEMUs+AUDIO in general.
>>>>>
>>>>> I don't think many users are actually running QEMU (or KVM) against
>>>>> ALSA. You have to
>>>>> - manually enable it during configure
>>>>> - pass QEMU_AUDIO_DRV=alsa (OSS remains default even if ALSA is on - I
>>>>>   ran into this trap first.)
>>>>
>>>> I don't see how it's a trap. You can also enable esd or fmod drivers
>>>> in configure along with alsa, which one should be the default?
>>>
>>> For sure, you need this mechanism with >1 audio backends being enabled
>>> in parallel. It's just the question how one is supposed to find out
>>> about this additional requirement:
>>
>> Being enabled? Did you mean being built in? And what do you mean by
>> mechanism, mechanism to do what exactly?
>
> Yes, I meant built-in.
>
>>
>>> $ grep -r QEMU_AUDIO_DRV qemu
>>> qemu/audio/audio.c:        "  set QEMU_AUDIO_DRV=wav\n"
>>> qemu/audio/audio.c:        "  export QEMU_AUDIO_DRV=wav\n"
>>> qemu/audio/audio.c:        drvname = audio_get_conf_str
>>> ("QEMU_AUDIO_DRV", NULL, &def);
>>>
>>> Am I missing some reference? Then sorry in advance.
>>
>> What is the question?
>
> Such kind of documentation is not for wimps. You know where to find and
> why to use it, but does the average user do?

Sorry, i still do not understand the actual question you are/were asking.

>> [..snip..]
>>
>>>
>>> Well, probably configurable as well with compat-OSS (real OSS is dead on
>>> Linux). The fact is that - not only for me - this sharing does not work
>>> out-of-the-box with OSS, while it does with ALSA. Don't ask me why, I'm
>>> not an expert on this, I'm rather looking at it from a "normal" user
>>> perspective.
>>
>> It doesn't with ALSA on this machine, and on the machine next to this
>> one, and on machine that lies on the floor. It boils down to how ALSA
>> was configured by distribution maintainers.
>
> Chances are generally higher that broken ALSA setups are reported and
> fixed than broken OSS emulations.

There's nothing broken about it. Enabling dmix, thus degarding quality
and speed, is not what some may elect to do.

-- 
mailto:av1474@comtv.ru

      reply	other threads:[~2008-05-08 17:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-02 19:06 [Qemu-devel] [PATCH] alsaaudio: increase default buffer sizes Jan Kiszka
2008-05-02 19:48 ` [Qemu-devel] " malc
2008-05-02 21:00   ` Jan Kiszka
2008-05-03 19:43     ` malc
2008-05-04  7:34       ` Jan Kiszka
2008-05-04 17:09         ` malc
2008-05-04 17:41           ` Jan Kiszka
2008-05-04 19:35             ` Jan Kiszka
2008-05-05 18:03               ` malc
2008-05-05 18:43                 ` Jan Kiszka
2008-05-06 17:37                   ` malc
2008-05-06 17:59                     ` Jan Kiszka
2008-05-07 18:36                       ` malc
2008-05-07 22:24                         ` Jan Kiszka
2008-05-08 17:44                           ` malc [this message]

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=Pine.LNX.4.64.0805082139400.2147@linmac.oyster.ru \
    --to=av1474@comtv.ru \
    --cc=jan.kiszka@web.de \
    --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).