LWN.net Logo

Advertisement

Smart VPS: 192 MB RAM, 10 GB disc space, 50 GB data transfer and Virtuozzo OS virtualization solution.

Advertise here

"Sound" extension?

"Sound" extension?

Posted Sep 9, 2004 11:50 UTC (Thu) by Liefting (subscriber, #8466)
Parent article: The X.org 6.8 release

Does anybody know if there's any plans to support audio through the X protocol as well? I always am amazed at my capability to SSH into my server upstairs, and start mplayer/xine or whatever, and have the video displayed locally. Or for that matter, any application. But it's annoying, and hard to explain to others, that the sound is not tunneled/forwarded to my local system, but is generated on the server.

Or should this be developed similar to how X does things ($DISPLAY variable, port 6000), but separate ($AUDIO variable, port ????) from X? Anybody working on this?


(Log in to post comments)

"Sound" extension?

Posted Sep 9, 2004 12:58 UTC (Thu) by sbergman27 (subscriber, #10767) [Link]

I think MAS is supposed to eventually make it into X. For now, though, $ESPEAKER is your friend.

"Sound" extension?

Posted Sep 9, 2004 13:03 UTC (Thu) by iabervon (subscriber, #722) [Link]

I remember hearing that they were working on sound support for X, although not specifically for that reason. They want to have programs produce perfectly synchronized audio and video, which is impossible to get really right if different programs are responsible for each. That would be even more significant if you were doing it over the network; two unrelated programs on the local machine talking to a program on the remote machine aren't going to stay aligned with each other, particularly if they don't even know about each other. This may or may not be "MediaApplicationServer" these days.

"Sound" extension?

Posted Sep 9, 2004 19:07 UTC (Thu) by giraffedata (subscriber, #1954) [Link]

I can also see other reasons to tie sound into the X protocol. You might want to have a set of headphones associated with a particular screen (if that's the right word) just as you have a mouse associated with one. It makes sense for X to own the entire interface to a human being.

"Sound" extension?

Posted Sep 9, 2004 13:06 UTC (Thu) by sdalley (subscriber, #18550) [Link]

I've wondered that too.

Jim Gettys Open Source Desktop Technology Road Map has a brief but useful summary on audio and multimedia, as well as a good overview of where X is going.

The current artsd and esd sound servers for KDE and Gnome don't seem to be evolving further. But the Media Application Server is surely worth a look. It is so ambitious in scope that X support is a mere detail!

"Sound" extension?

Posted Sep 9, 2004 13:23 UTC (Thu) by NAR (subscriber, #1313) [Link]

Does anybody know if there's any plans to support audio through the X protocol as well?

About 8 years ago when I was sitting in front of an X terminal, I was able to listen to music played by a program running on the Solaris server. However, I don't know what kind of protocol was used between the (diskless) X terminal and the server.

Bye,NAR

"Sound" extension?

Posted Sep 10, 2004 2:11 UTC (Fri) by rfunk (subscriber, #4054) [Link]

It was probably NAS, which was developed long ago by NCD for their X terminals.

"Sound" extension?

Posted Sep 9, 2004 19:20 UTC (Thu) by smoogen (subscriber, #97) [Link]

Sound has been the holy grail of X for a very very very long time. There have been several attempts at doing it.. but none of them have either caught on.. or been less than network killers. I think at various times it has been decided it needs to be an X thing.. or a desktop thing (esd, etc).

It might be possible once things are more componentized.. that way someone could put in some sort of Xiph X module and it work then.. but I dont think it would be easy until then.

"Sound" extension?

Posted Sep 10, 2004 10:34 UTC (Fri) by stevem (subscriber, #1512) [Link]

Network Audio System was written a long time, and is exactly what you're looking for. Written by NCD for their X terminals and opened to all.

See http://radscan.com/nas.html

NAS provides sound

Posted Sep 11, 2004 0:21 UTC (Sat) by lakeland (subscriber, #1157) [Link]

But it is ancient, and I personally would prefer sound as an X extension
too. Incidentially, KDE supports NAS. I have no idea about other things.

That's confused

Posted Sep 16, 2004 14:49 UTC (Thu) by job (subscriber, #670) [Link]

No, the sound is generated on the client. You are sitting by the (display) server.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds