Routing Flash-Player audio from Firefox to Jack

How do I route audio from Flash-Player running in Firefox to Jack. I am using KDE with PulseAudio on openSUSE 12.3. Unfortunately compiling libflashsupport-jack fails, because videodev.h is missing.

On Sun 21 Apr 2013 02:46:02 AM CDT, amadrits wrote:

How do I route audio from Flash-Player running in Firefox to Jack. I am
using KDE with PulseAudio on openSUSE 12.3. Unfortunately compiling
libflashsupport-jack fails, because videodev.h is missing.

Hi
videodev.h is included in libv4l-devel, so you need to change the
following line;


diff -Naur a/flashsupport.c b/flashsupport.c
--- a/flashsupport.c	2013-04-20 22:25:38.846230814 -0500
+++ b/flashsupport.c	2013-04-20 22:46:47.945292235 -0500
@@ -181,7 +181,7 @@
#ifdef V4L1
#include <unistd.h>
#include <pthread.h>
-#include <linux/videodev.h>
+#include <libv4l1-videodev.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#endif // V4L1

It should then compile without errors…


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.3 (x86_64) Kernel 3.7.10-1.1-desktop
up 1 day 12:08, 3 users, load average: 0.27, 0.25, 0.28
CPU Intel® i5 CPU M520@2.40GHz | GPU Intel® Arrandale

Thank you very much, it works now.