[nas] nas and adobe's libflashsupport

Paul Fox pgf at foxharp.boston.ma.us
Sat Apr 18 16:51:19 MDT 2009


just curious -- has anyone considered adding NAS support to the
flash plugin that adobe provides?  the intent of their plugin is
to allow support of alternate audio output devices and formats,
and i have to say, the API is pretty simple -- the client only
has to provide open, close, and "latency" routines, and is
provided with alloc, free, and "fillbuffer" routines which need
to be called as appropriate.  and there are implementation
examples for both oss and alsa.  audio samples are 16 bit stereo
at 44100.

the plugin source from adobe is linked to from here, if you're
curious:
    http://labs.adobe.com/wiki/index.php/Flash_Player:Additional_Interface_Support_for_Linux

i haven't tried to verify that that's the most recent version
available from adobe, but i did find this version which adds
pulse and esd support:
    http://tcosproject.org/cgit/cgit.cgi/libflashsupport.git/
in fact, i just realized that this is the source for the
debian/ubuntu version, so it's clearly the place to start.

having now lived with alsa and pulse for remote audio for about a
year, i'm about ready to throw in the towel and switch back to
nas, which was far more reliable, far more efficient, and also
supports software mixing.  what it lacked, though, was reliable
support for audio from my browser, and this could fix that...

paul
=---------------------
 paul fox, pgf at foxharp.boston.ma.us (arlington, ma, where it's 55.8 degrees)



More information about the Nas mailing list