any browser - output sound from flash videos to esd running on another machine
Hi,
This could be easy but I obviously don't find the way myself, so I'm asking.
I have esd running on a small device (router running OpenWRT).
This has a large harddrive and a soundcard attached via USB and I'm using it to play my music via mpd, which also runs on this little device.
...nice good speakers...
Can't use pulseaudio, which would be better I suppose, because pulseaudio is not available for OpenWRT latest, so it's got to be esd.
Playing the sound of movies I watch on my laptop through this device also works.
I use mplayer and its esd-output - works nicely.
What I miss and want to do is:
direct all sound from my laptop to esd on the above device.
Specifically I would like to hear the sound of flash clips like those on youtube or metacafe through the nice speakers attaced to the device rather than through my laptops really low quality speakers.
What I've done to get mplayer to output the movies sound through esd is:
I just set the ESPEAKER environment variable to the IP of the router - and run mplayer with -ao esd.
I also set the default audiosink to be esdsink - but this appearently has not the desired effect.
Would I need to have esd running on my laptop?
Until now I don't...
This obviously has no effect on sound from flash-movies in the browser, which still comes out my laptops small speakers.
Is it possible to direct all sound to a remotely running esd, including the sound from flash-movies running in the browser?
If so, what would I need to do?
I run Arch and the latest Gnome DE.
...needed to recompile mlayer to enable the ability to output to esd, since this feature is not enabled in the standard mplayer package - if that is a hint...
I hope someone knows.
Thanks for your time!
Last edited by jomen; 09-13-2010 at 07:06 AM.
|