Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2008-05-02 Thread David Abrahams
Avi Kivity wrote: > David Abrahams wrote: >> Jon gmail.com> writes: >> >> >>> 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

Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2008-05-02 Thread Avi Kivity
David Abrahams wrote: > Jon gmail.com> writes: > > >> 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. >>

Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2008-05-01 Thread David Abrahams
Jon gmail.com> writes: > > 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. Unfortunately with my upgrade to Ubu

Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2007-05-23 Thread Avi Kivity
David Abrahams wrote: >>> "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_F

Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2007-05-23 Thread David Abrahams
on Wed May 23 2007, Avi Kivity wrote: > 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 s

Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2007-05-23 Thread Avi Kivity
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. >

Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2007-05-23 Thread Avi Kivity
David Abrahams wrote: > on Mon May 21 2007, Avi Kivity > wrote: > > >> David Abrahams wrote: >> >>> When I have windows XP running under kvm, I get >>> >>> [EMAIL PROTECTED]:/tmp$ aplay /usr/share/sounds/gaim/receive.wav >>> ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open

Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2007-05-23 Thread Andreas Hasenack
On Tuesday 22 May 2007 23:37:56 David Abrahams wrote: > on Mon May 21 2007, Avi Kivity wrote: > > David Abrahams wrote: > >> When I have windows XP running under kvm, I get > >> > >> [EMAIL PROTECTED]:/tmp$ aplay /usr/share/sounds/gaim/receive.wav > >> ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_op

Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2007-05-22 Thread David Abrahams
on Mon May 21 2007, Avi Kivity wrote: > David Abrahams wrote: >> When I have windows XP running under kvm, I get >> >> [EMAIL PROTECTED]:/tmp$ aplay /usr/share/sounds/gaim/receive.wav >> ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave >> aplay: main:550: audio open erro

Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2007-05-21 Thread Jon
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: "

Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2007-05-21 Thread Shahar Frank
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. The following may work: export QEMU_AUDIO_DRV=alsa # the default is OSS if I recall corr

Re: [kvm-devel] qemu/kvm seems to take ALSA all for itself?

2007-05-21 Thread Avi Kivity
David Abrahams wrote: > When I have windows XP running under kvm, I get > > [EMAIL PROTECTED]:/tmp$ aplay /usr/share/sounds/gaim/receive.wav > ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave > aplay: main:550: audio open error: Device or resource busy > > As soon as I shut

[kvm-devel] qemu/kvm seems to take ALSA all for itself?

2007-05-21 Thread David Abrahams
When I have windows XP running under kvm, I get [EMAIL PROTECTED]:/tmp$ aplay /usr/share/sounds/gaim/receive.wav ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave aplay: main:550: audio open error: Device or resource busy As soon as I shut down my VM, though, it works perf