Jack
From Arnout Engelen
Contents |
[edit] jack and flash
[edit] libflashsupport-jack
Tool for routing jack audio though jack:
- http://lists.linuxaudio.org/pipermail/linux-audio-user/2009-April/059477.html
- git clone git://repo.or.cz/libflashsupport-jack.git
Installing:
- apt-get install libtool
- ./bootstrap.sh
- make
- backup /usr/lib/libflashsupport*
- sudo make install
Unfortunately this causes somewhat 'skipping' audio, and also makes Firefox quite unstable, with memory errors like:
*** glibc detected *** /usr/lib/firefox-3.0.10/firefox: realloc(): invalid next size: 0xb05d1178 ***
terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted
[edit] pulseaudio
Ubuntu currently doesn't carry pulseaudio-module-jack (neither does 64studio), so i had to compile that first:
- apt-get source pulseaudio
- apt-get build-dep pulseaudio
- cd pulseaudio_<tab>
- ./configure --with-jack
- cd src
- make module-jack-sink.la
- cp .libs/module-jack-sink.so /usr/lib/pulse-0.9/modules
- create a jackd.pa as described here
- start jack
- start pulseaudio
- start firefox
- open youtube
- enjoy :)
[edit] Problems
Sometimes when using qjackctrl, qsynth and solfege (which outputs via timidity via jack i think, not sure), I get the following:
pp: cannot clean up byte from graph wait fd (Resource temporarily unavailable) zombified - calling shutdown handler 14:20:08.347 Shutdown notification. 14:20:08.349 Client deactivated. 14:20:08.353 JACK is stopping... jack main caught signal 15 **** alsa_pcm: xrun of at least 3.497 msecs subgraph starting at qsynth timed out (subgraph_wait_fd=10, status = 0, state = Triggered) no message buffer overruns 14:20:09.095 JACK was stopped successfully.
Then I have to restart jackd, and the qsynth output port is missing, it comes back when i hit 'restart' in qsynth, after which I have to re-attach the keyboard to fluid
