From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Abrahams Subject: Re: qemu/kvm seems to take ALSA all for itself? Date: Wed, 23 May 2007 09:15:04 -0400 Message-ID: <87abvv4r6v.fsf@grogan.peloton> References: <64F9B87B6B770947A9F8391472E032160BE40BE9@ehost011-8.exch011.intermedia.net> <20070521210459.GA5594@localdomain> <465434DB.2040103@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Avi Kivity Return-path: In-Reply-To: <465434DB.2040103-atKUWr5tajBWk0Htik3J/w@public.gmane.org> (Avi Kivity's message of "Wed\, 23 May 2007 15\:34\:35 +0300") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org 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 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. OK, but *where* do you use this incantation? -- Dave Abrahams Boost Consulting http://www.boost-consulting.com ------------------------------------------------------------------------- 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/