Re: [LAU] Heads Up! ZynAddSubFX

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Sunday, July 26, 2009 - 9:33 pm

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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Heads Up! ZynAddSubFX, Folderol, (Wed Jul 15, 9:32 pm)
Re: [LAU] Heads Up! ZynAddSubFX, Atte Andre Jensen, (Sun Jul 19, 2:27 pm)
Re: [LAU] Heads Up! ZynAddSubFX, Frank Kober, (Mon Jul 20, 11:03 pm)
Re: [LAU] Heads Up! ZynAddSubFX, Folderol, (Sun Jul 26, 9:33 pm)
Re: [LAU] Heads Up! ZynAddSubFX (Initial Feedback), Carlo Capocasa, (Thu Jul 16, 9:06 pm)
Re: [LAU] Heads Up! ZynAddSubFX (Initial Feedback), Frank Kober, (Fri Jul 17, 11:59 am)
Re: [LAU] Heads Up! ZynAddSubFX (Initial Feedback), Frank Neumann, (Sun Jul 19, 11:50 am)
Re: [LAU] Heads Up! ZynAddSubFX, , (Wed Jul 15, 10:09 pm)
Re: [LAU] Heads Up! ZynAddSubFX, , (Wed Jul 15, 11:20 pm)
Re: [LAU] Heads Up! ZynAddSubFX, , (Thu Jul 16, 12:09 am)
Re: [LAU] Heads Up! ZynAddSubFX, Paul Davis, (Thu Jul 16, 1:11 am)
Re: [LAU] Heads Up! ZynAddSubFX, Gabriel M. Beddingfield, (Thu Jul 16, 1:40 am)