From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Jon <iroquoi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
David Abrahams
<dave-UB3wUj7V41K5azolltMz9laTQe2KTcn/@public.gmane.org>
Subject: Re: qemu/kvm seems to take ALSA all for itself?
Date: Wed, 23 May 2007 15:34:35 +0300 [thread overview]
Message-ID: <465434DB.2040103@qumranet.com> (raw)
In-Reply-To: <20070521210459.GA5594@localdomain>
Jon wrote:
> On Mon, May 21, 2007 at 08:37:48AM -0700, Shahar Frank wrote:
>
>
>> You have to make QEMU use ALSA as your sound system and specify a
>> mixer device for input and output. This can be done using some
>> environment variables that should be set before the qemu binary is
>> run.
>>
>
> >From the ALSA wiki:
>
> "For ALSA 1.0.9rc2 and higher you don't need to setup dmix. Dmix is
> enabled as default for soundcards which don't support hw mixing."
>
> I've found this to be the case on my laptop, where I use:
>
> export QEMU_AUDIO_DRV=alsa
> export QEMU_AUDIO_DAC_FIXED_FREQ=48000
> export QEMU_AUDIO_ADC_FIXED_FREQ=48000
> export QEMU_ALSA_DAC_BUFFER_SIZE=16384
>
> Buffer size is very important, else it crackles and pops for me.
>
>
This works for me (alsa 1.0.14rc3). Thanks.
> Now if only sound could survive a loadvm/savevm it'd be perfect. :-)
>
Is qemu-devel aware of this issue?
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
next prev parent reply other threads:[~2007-05-23 12:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-21 15:37 qemu/kvm seems to take ALSA all for itself? Shahar Frank
[not found] ` <64F9B87B6B770947A9F8391472E032160BE40BE9-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-05-21 21:04 ` Jon
2007-05-23 12:34 ` Avi Kivity [this message]
[not found] ` <465434DB.2040103-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-23 13:15 ` David Abrahams
[not found] ` <87abvv4r6v.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
2007-05-24 6:55 ` Avi Kivity
2008-05-01 19:50 ` David Abrahams
2008-05-02 10:19 ` Avi Kivity
2008-05-02 16:38 ` David Abrahams
-- strict thread matches above, loose matches on Subject: below --
2007-05-21 14:29 David Abrahams
[not found] ` <87ps4umerx.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
2007-05-21 14:37 ` Avi Kivity
2007-05-23 2:37 ` David Abrahams
[not found] ` <87zm3wcliz.fsf-2bi8v6C3s58ZC2cDDG0gXw@public.gmane.org>
2007-05-23 10:05 ` Andreas Hasenack
2007-05-23 12:28 ` Avi Kivity
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=465434DB.2040103@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=dave-UB3wUj7V41K5azolltMz9laTQe2KTcn/@public.gmane.org \
--cc=iroquoi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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