WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: Xen Qemu DM soundhw

To: Thomas Goirand <thomas@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Xen Qemu DM soundhw
From: Arvind R <arvino55@xxxxxxxxx>
Date: Wed, 10 Mar 2010 11:07:53 +0530
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 09 Mar 2010 21:38:37 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=vnzkiBI5Jx+B9hNZ+uil6Atx7NWhAjWv6sur3xlUIfA=; b=v1gvXa7hDAaCcrSkn04Md+RV/gWmgAeHpNOm9MzLOZY5+7K6/9TjElCKhhRICoSBZ6 8N/typySicPCsuDKBmkFHusVE5oeTjFhP78lZPSbenNWybv5n907pwKnV8Nbqp5nL9um FCPYKvsYrwy0l98YuQ292aW5wORoo/jQs4QDo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=bbrQaf9XkHgsHHiEfhHszvmZErUGE+qlGMGcSz418nEslZz82AAjj5jiDP/me9UqSl 7CMyvuStH5pO9Pta469BY7g5uoofiG5O5PiPd4T1sZENHIBNVRrm47I4yezcrF3nCHIt Q4KE0rquINluxT7uVfLVQgVyP+A/m89sCKgko=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B953D4A.1070607@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4A0B5E8A-272D-40E7-B8F7-FC2E5531F5B8@xxxxxxxxxxx> <4B953D4A.1070607@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Mar 8, 2010 at 11:39 PM, Thomas Goirand <thomas@xxxxxxxxxx> 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 
>> sources 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   2010-03-08 
>> 16:06:43.000000000 +0100
>> @@ -1382,6 +1382,9 @@
>>    echo "#define CONFIG_VDE 1" >> $config_h
>>    echo "VDE_LIBS=-lvdeplug" >> $config_mak
>>  fi
>> +if ! test -z "$audio_card_list"; then
>> +     echo "CONFIG_AUDIO=yes" >> $config_mak
>> +fi
>>  for card in $audio_card_list; do
>>      def=CONFIG_`echo $card | tr '[:lower:]' '[:upper:]'`
>>      echo "$def=yes" >> $config_mak
>>
>> That's all. This would also fix soundhw for a lot of other people who asked 
>> for it on several mailing lists if it would be included upstream. But i 
>> don't know who to ask. Do you?
>>
>> Viele Grüße.
>> 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>