From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arvind R Subject: Re: Re: Xen Qemu DM soundhw Date: Wed, 10 Mar 2010 11:07:53 +0530 Message-ID: References: <4A0B5E8A-272D-40E7-B8F7-FC2E5531F5B8@motschke.de> <4B953D4A.1070607@goirand.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4B953D4A.1070607@goirand.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Thomas Goirand Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Mar 8, 2010 at 11:39 PM, Thomas Goirand wrote: > Christian Motschke wrote: >> Hi, >> >> it took me ages to find the error in the build scripts, why we have no -= soundhw in qemu-dm. It is not your fault, but since month, the upstream sou= rces have the error. all you need is the following patch: >> >> --- configure 2009-12-16 19:42:32.000000000 +0100 >> +++ ../xen-3.4-testing.hg/tools/ioemu-dir/configure =A0 2010-03-08 16:06= :43.000000000 +0100 >> @@ -1382,6 +1382,9 @@ >> =A0 =A0echo "#define CONFIG_VDE 1" >> $config_h >> =A0 =A0echo "VDE_LIBS=3D-lvdeplug" >> $config_mak >> =A0fi >> +if ! test -z "$audio_card_list"; then >> + =A0 =A0 echo "CONFIG_AUDIO=3Dyes" >> $config_mak >> +fi >> =A0for card in $audio_card_list; do >> =A0 =A0 =A0def=3DCONFIG_`echo $card | tr '[:lower:]' '[:upper:]'` >> =A0 =A0 =A0echo "$def=3Dyes" >> $config_mak >> >> That's all. This would also fix soundhw for a lot of other people who as= ked for it on several mailing lists if it would be included upstream. But i= don't know who to ask. Do you? >> >> Viele Gr=FC=DFe. >> Christian > > I sure do, forwarding this to the Xen devel list. Can this be added to > the official Git of Qemu for Xen 3.4? > > Thomas ________________________________________ This is a much better patch than my hard-coded version. And setting alsa buffer_size to 16384 in the alsa sound driver is necessary for unchopped sound. And it would be nice to load the present sound-driver rather than the first in the list - now one has to edit the list order and compile Arvind