On Sat, Sep 23, 2006 at 11:19:52AM +0800, [EMAIL PROTECTED] wrote:
> > Congratulations.  You just described exactly what esd and the esd shim
> > basically does.
> 
> So skype, mythtv, sound in browsers just work? They don't. So this is the 
> reason for my thoughts ...

That's right, they don't.  But what you described is almost exactly what
esd + the ld.so shim do.  So your method won't work either.

> > Writing to /dev/dsp is evil.
> > Writing to /dev/mixer is evil.
> > Writing to /dev/midi is evil.
> Why evil? It does work on my limited testing. The app considers /dev/midiBLA 
> to be real. The fact that it's remote is cute.

midi's REAL simple: it's essentially a serial port.  It's not cranking
out the sustained packet bandwidth that sound is.  Tell me: how do you
propose to handle sound syncing issues?

Lets say you're running a flash animation, with sound.  Network
latency's a little high, and the sound's getting out of sync.  How do
you communicate that back to a program that thinks it's talking directly
to the sound card via /dev/dsp?

It's like driving a car via remote control and a vr-helmet.
Everything's ok, so long as nothing gets out of sync.  But the fact
remains, if things get wonky, there's no way you can roll down the
window and have a look around :)
 
> > ALL of them, BY DEFINITION imply that you're expecting the sound
> > resources to be be on the same box as the program making the sounds.
> > Then, after the fact, you're trying to somehow, magically hijack the
> > stream, and make it appear somewhere else.  It's not workable.
> Again please indulge my ignorance. I do not contest your view, just don't 
> understand. :-)

See above.  Inserting a network which does NOT guarentee delivery times,
in between a program and a soundcard which EXPECT guarenteed delivery
times is going to cause problems.  Better that the program should
actually use a library that has callbacks to notify the program when
things are getting laggy, and allow the program to do something sensible
about it.

> And eg skype totally ignore you.

*shrugs*, then don't use skype.  Install an asterisk server and use
Ekiga, that speaks gstreamer. Or kphone.  Or, if you're married to
skype, install it as a local app.  There's a ton of options.

Either way you slice it, it shouldn't stop you from implementing the
solution properly.

Scott

-- 
Scott L. Balneaves | "Looking beyond the embers of bridges glowing behind us
Systems Department |  To a glimpse of how green it was on the other side..."
Legal Aid Manitoba |    -- Pink Floyd "High Hopes"

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to