From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Markus_Breitl=E4nder?= Subject: Re: qemu-kvm Date: Sat, 13 Feb 2010 16:16:00 +0100 Message-ID: <4B76C230.3060307@stud.fh-dortmund.de> References: <12d708831002130439m7e6abef9j57bbcef5b5a5446a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: unlisted-recipients:; (no To-header on input) Return-path: Received: from betty.stud.FH-Dortmund.DE ([193.25.19.66]:36606 "EHLO mail.stud.fh-dortmund.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755552Ab0BMPP6 (ORCPT ); Sat, 13 Feb 2010 10:15:58 -0500 Received: from [192.168.0.17] (i53874FA5.versanet.de [83.135.79.165]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.stud.fh-dortmund.de (Postfix) with ESMTP id 6A60C11CD920 for ; Sat, 13 Feb 2010 16:15:56 +0100 (CET) In-Reply-To: <12d708831002130439m7e6abef9j57bbcef5b5a5446a@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: You can alter the sound driver settings by setting some variables before starting the VM. I use the following in my start scripts: 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=4096 Maybe this helps? Greets, Markus Am 13.02.2010 13:39, schrieb Alberich de megres: > Hi!! > > I got a curious situation that leads me to start sailing on qemu-kvm > source code. > > I got an audio latency very very high, even with some little cuts at > playback. In qemu lists they told me qemu is synchronous, so if it > take so long to draw high screen resolution audio could be affected. > As I saw, qemu uses sdl to draw guest screen on host computer, my > question is: when sdl draw it uses some kind of 2d acceleration? > > Woulld it be hard to make for example screen draw asynchronously to > audio playback? where would be a good point to start look for how to > do it? > > Thanks! > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >