Mailing List Archive

Sound support in Xen?!
Hi Everyone,

I am a grad student and am very new to Xen :) My project requires sound support in the virtual machine, but Xen does not seem to support it. Do you know of anyone who has enabled sound support in Xen or are there any work arounds?

Thanks for your time!
Muthu


---------------------------------
Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com/a
Re: Sound support in Xen?! [ In reply to ]
> I am a grad student and am very new to Xen :) My project requires sound
> support in the virtual machine, but Xen does not seem to support it. Do
> you know of anyone who has enabled sound support in Xen or are there any
> work arounds?

You can get sound support in dom0 by just compiling it in. If you want
unprivileged domains to output sound, there's no Xen-specific support for
this. However, a good solution would be to use a network-enabled sound
daemon (artsd from KDE can do this for KDE and non-KDE apps, I believe,
esound can do it, gstreamer might be able to) to relay sound to dom0 (which
can control the sound card directly).

HTH,
Mark


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel
RE: Sound support in Xen?! [ In reply to ]
On that subject, what would be involved in writing a sound driver with front end and back end components, so that xenU sees a normal sound card and xen0 can mix the outputs together and pump them out to a real sound card?

I guess sound in virtual machines only has limited uses though, and most of those could be serviced via existing networked solutions.

James

________________________________________
From: xen-devel-admin@lists.sourceforge.net [mailto:xen-devel-admin@lists.sourceforge.net] On Behalf Of Muthu Annamalai
Sent: Wednesday, 3 November 2004 12:05
To: xen-devel@lists.sourceforge.net
Subject: [Xen-devel] Sound support in Xen?!

Hi Everyone,
 
I am a grad student and am very new to Xen :)  My project requires sound support in the virtual machine, but Xen does not seem to support it.  Do you know of anyone who has enabled sound support in Xen or are there any work arounds?
 
Thanks for your time!
Muthu
________________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel
Re: Sound support in Xen?! [ In reply to ]
A networked solution will probably work well enough --- even a stereo
16-bit 44kHz stream would be less than 1Mbps. However, a custom
frontend/backend could work very nicely. It wouldn't be necessary to
have much signalling from frontend -> backend because the backend will
simply poll the data ring at the appropriate rate. It'd be very low
overhead.

If oding this I'd put the 'backend driver' in a user-space app so that
it can easily make use of existing software audio mixers.

-- Keir

> On that subject, what would be involved in writing a sound driver with front end and back end components, so that xenU sees a normal sound card and xen0 can mix the outputs together and pump them out to a real sound card?
>
> I guess sound in virtual machines only has limited uses though, and most of those could be serviced via existing networked solutions.
>
> James
>
> ________________________________________
> From: xen-devel-admin@lists.sourceforge.net [mailto:xen-devel-admin@lists.sourceforge.net] On Behalf Of Muthu Annamalai
> Sent: Wednesday, 3 November 2004 12:05
> To: xen-devel@lists.sourceforge.net
> Subject: [Xen-devel] Sound support in Xen?!
>
> Hi Everyone,
>  
> I am a grad student and am very new to Xen :)  My project requires sound support in the virtual machine, but Xen does not seem to support it.  Do you know of anyone who has enabled sound support in Xen or are there any work arounds?
>  
> Thanks for your time!
> Muthu
> ________________________________________
> Do you Yahoo!?
> Check out the new Yahoo! Front Page. www.yahoo.com
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_idU88&alloc_id065&opÿick
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel
 -=- MIME -=- 
On that subject, what would be involved in writing a sound driver with =
front end and back end components, so that xenU sees a normal sound card =
and xen0 can mix the outputs together and pump them out to a real sound =
card?

I guess sound in virtual machines only has limited uses though, and most =
of those could be serviced via existing networked solutions.

James

________________________________________
From: xen-devel-admin@lists.sourceforge.net =
[mailto:xen-devel-admin@lists.sourceforge.net] On Behalf Of Muthu =
Annamalai
Sent: Wednesday, 3 November 2004 12:05
To: xen-devel@lists.sourceforge.net
Subject: [Xen-devel] Sound support in Xen?!

Hi Everyone,
=A0
I am a grad student and am very new to Xen :)=A0 My project requires =
sound support in the virtual machine, but Xen does not seem to support =
it.=A0 Do you know of anyone who has enabled sound support in Xen or are =
there any work arounds?
=A0
Thanks for your time!
Muthu
________________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xen-devel