On Mon, 20 Jul 2009 23:03:36 +0000 (GMT)
Frank Kober wrote:>
This is being very intensively worked on. There is a temporary fix,
which cures the defect completely, but partially returns to the RT
unsafe situation. I found it worth doing, for the sake of all the other
benefits.
In src/Output/JACKaudiooutput.cpp change the folowing lines:
===================================================================
if (!pthread_mutex_trylock(&jackmaster->mutex)) {
JACKhandlemidi(nframes);
jackmaster->GetAudioOutSamples(nframes,jack_get_sample_rate(jackclient),outl,outr);
pthread_mutex_unlock(&jackmaster->mutex);
} else {
memset(outl, 0, sizeof(jack_default_audio_sample_t) * nframes);
memset(outr, 0, sizeof(jack_default_audio_sample_t) * nframes);
}
===================================================================
to
=================================================================
pthread_mutex_trylock(&jackmaster->mutex);
jackmaster->GetAudioOutSamples(nframes,jack_get_sample_rate(jackclient),outl,outr);
pthread_mutex_unlock(&jackmaster->mutex);
=================================================================
Also, an annoying little detail is that all the controllers are enabled
by default except main volume (controller 7) which is, of course, the
one I *always* want!
The change below cures that, and I believe will be rolled into the next
mantenance release.
In src/Params/Controller.cpp
Change:
"volume.receive=0;"
To:
"volume.receive=1;"
--
Will J Godfrey
http://www.musically.me.uk
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.