On 11/21/06, Jean-Michel Dault <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> There is now a better solution than using esddsp...
>
> I just relased full Esound and PulseAudio support for Flash 9 based on
> the additional interface support library.
>
> What's more, the PulseAudio layer features full synchronization between
> audio and video. (ESD still sucks, I can't do miracles ;-)
>
> The driver has built-in autodetection code, so it will automatically
> select the best output available based on environment variables
> (PULSE_SERVER, ESPEAKER, etc).
>
> It's still experimental, but it works for me.
>
> You can get the source, RPMS and more information on:
> http://pulseaudio.revolutionlinux.com/
>
> I'll try to push the source to Macromedia, but I want to have a couple
> of beta-testers first.


Hi

I did not have pulse installed so I just hacked the svn to remove (ifdefs)
the pulse dependencies.

The patch is attached and the seems to work fine with esd.  Maybe some time
I will install pulse audio...

Tim
Index: flashsupport.c
===================================================================
--- flashsupport.c      (revision 2255)
+++ flashsupport.c      (working copy)
@@ -58,7 +58,7 @@

 #define OPENSSL

-#define PULSEAUDIO
+/*#define PULSEAUDIO */
 #define ESD
 //#define ALSA
 #define ALSA_INTERNAL
@@ -280,6 +280,7 @@
        const char *host, const char *name );

 //PULSE functions
+#if defined(PULSEAUDIO)
 pa_simple* (*FPX_pa_simple_new) (const char *server,const char *name,
     pa_stream_direction_t dir,const char *dev,const char *stream_name,
     const pa_sample_spec *ss,const pa_channel_map *map,
@@ -298,7 +299,7 @@
 int (*FPX_pa_simple_flush) (pa_simple *s, int *error);

 const char* (*FPX_pa_strerror) (int error);
-
+#endif

 static int audiotype=2;
 static int audiodrivers=0;
@@ -307,7 +308,9 @@

 void FPX_SoundOutput_Detect()
 {
+#if defined (PULSEAUDIO)
        char tmpstr[1024]="";
+#endif
        char *tmpenv;
        struct stat buf;
        void *handle;
Index: Makefile
===================================================================
--- Makefile    (revision 2255)
+++ Makefile    (working copy)
@@ -12,7 +12,7 @@
 all: libflashsupport.so

 libflashsupport.so: flashsupport.c
-       $(CC) $(LIBS) $(ESDLIBS) $(ALSALIBS) $(PALIBS) $(SSLLIBS) $(ICULIBS)\
+       $(CC) $(LIBS) $(ESDLIBS) $(ALSALIBS) $(SSLLIBS) $(ICULIBS)\
        flashsupport.c -o libflashsupport.so

 install: all

-------------------------------------------------------------------------
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