HomeAudio › Support for JACK Audio in Adobe Flash

Support for JACK Audio in Adobe Flash

I use JACK quite frequently for playing guitar and recording etc, and while it is quite flexible, one thing I was unable to do was this: Get Flash audio to route through JACK. Most commonly this is when I want to play a Youtube video, and I find I have to stop jackd, which requires shutting down most JACK-aware applications, play the video, restart JACK, blah blah blah. Not really functional.

 

A quick search and I found libflashsupport-jack – and was excited! Look, something to make Flash work with JACK! So I checked out the git repo at git://repo.or.cz/libflashsupport-jack.git but it wouldn’t compile. Looked into it, and the major problem was that it includes a deprecated file in the kernel headers: linux/videodev.h, but alas, as of kernel version 2.6.38 the header file linux/videodev.h is no longer included in the kernel.

 

Long story short: I got the file, put it in with the libflashsupport source, hacked around with the code a bit, and TADA! I can now play Flash when JACK is running!

 

Even more importantly, for you that is, I’ve made a fork of the old repo, and have made the new working version available!

 

I’ll set up a proper homepage for this little project, but for now I’ll just link to the github repo and some instructions Note: if you go to http://github.com/pvint/libflashsupport-jack2 there is also a link to download a zipfile):

git clone git://github.com/pvint/libflashsupport-jack2.git
cd libflashsupport-jack2
sh bootstrap.sh
make
make install

(You must be root to do the make install, of course)
On a 64bit platform, you’ll likely need to create a symlink as well to get Flash to use this:

ln -s /usr/local/lib/flashsupport.so /usr/lib64

 

Now, fire up your JACK and your browser (You may need to restart the browser if it’s running), and try it out, it should just work!

 

If you have any issues, feel free to drop me a not here or by email.

This post was written by

– who has written 16 posts on DotSlash.ca.
Plain old nerd.

Email  • Google + • Facebook

Share Button

3 Comments.[ Leave a comment ]

  1. I am genuinely delighted to glance at this website posts which carries lots of valuable data, thanks for providing these data.

  2. People who engage in playing games deveop their mind generously aas
    compared with average students. Some experts have gone sso far as to cll concussions a growing crisis in youth soccer.
    Increasing oil prices are leading to a boom in certain coyntries such as Nigeria whihh is using some
    off the funds for education and other social programmes (I wont mention recent reports that Nigerian leaders
    stole 380 billion dollars of oil money in the past 40
    years).

  3. I will right away seize your rss feed as I can’t find your email
    subscription hyperlink or e-newsletter service.
    Do you have any? Please permit me understand in order that I may just subscribe.
    Thanks.

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>