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.

Now if only sound could survive a loadvm/savevm it'd be perfect. :-)

-------------------------------------------------------------------------
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/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to