Mixer: Effectively whitelist TAP plugins even though flagged as not RT safe.

This commit is contained in:
Jonathan Moore Liles 2013-09-24 21:38:37 -07:00
parent 83fceb23dc
commit 200bfe91ca
2 changed files with 16 additions and 6 deletions

View File

@ -769,7 +769,16 @@ LADSPAInfo::CheckPlugin(const LADSPA_Descriptor *desc)
"WARNING: Plugin cannot use in place processing");
test(desc->PortCount, "WARNING: Plugin has no ports");
test(desc->Name, "WARNING: Plugin has no name" );
if ( strcmp( desc->Maker, "Tom Szilagyi" ) )
{
/* The author of the TAP plugins has a very narrow
* interpretation of the HARD RT hint which differs from
* most everyone else, so we are left in the unfortunate
* position of having to ignore the hint for TAP plugins
* and consider them all RT safe */
test(LADSPA_IS_HARD_RT_CAPABLE( desc->Properties ), "WARNING: Plugin is not RT capable" );
}
return true;
}

View File

@ -454,11 +454,12 @@ Plugin_Module::load ( unsigned long id )
WARNING( "Cannot use this plugin because it is incapable of processing audio in-place" );
return false;
}
else if ( ! LADSPA_IS_HARD_RT_CAPABLE( _idata->descriptor->Properties ) )
{
WARNING( "Cannot use this plugin because it is incapable of hard real-time operation" );
return false;
}
/* else if ( ! LADSPA_IS_HARD_RT_CAPABLE( _idata->descriptor->Properties ) ) */
/* { */
/* WARNING( "Cannot use this plugin because it is incapable of hard real-time operation" ); */
/* return false; */
/* } */
MESSAGE( "Name: %s", _idata->descriptor->Name );