xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Re: Xen Qemu DM soundhw
       [not found] <4A0B5E8A-272D-40E7-B8F7-FC2E5531F5B8@motschke.de>
@ 2010-03-08 18:09 ` Thomas Goirand
  2010-03-10  5:37   ` Arvind R
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Goirand @ 2010-03-08 18:09 UTC (permalink / raw)
  To: Christian Motschke, xen-devel@lists.xensource.com

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Re: Xen Qemu DM soundhw
  2010-03-08 18:09 ` Xen Qemu DM soundhw Thomas Goirand
@ 2010-03-10  5:37   ` Arvind R
  0 siblings, 0 replies; 2+ messages in thread
From: Arvind R @ 2010-03-10  5:37 UTC (permalink / raw)
  To: Thomas Goirand; +Cc: xen-devel

On Mon, Mar 8, 2010 at 11:39 PM, Thomas Goirand <thomas@goirand.fr> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-10  5:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4A0B5E8A-272D-40E7-B8F7-FC2E5531F5B8@motschke.de>
2010-03-08 18:09 ` Xen Qemu DM soundhw Thomas Goirand
2010-03-10  5:37   ` Arvind R

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).