Mixer: Effectively whitelist TAP plugins even though flagged as not RT safe.
This commit is contained in:
parent
83fceb23dc
commit
200bfe91ca
|
@ -769,7 +769,16 @@ LADSPAInfo::CheckPlugin(const LADSPA_Descriptor *desc)
|
||||||
"WARNING: Plugin cannot use in place processing");
|
"WARNING: Plugin cannot use in place processing");
|
||||||
test(desc->PortCount, "WARNING: Plugin has no ports");
|
test(desc->PortCount, "WARNING: Plugin has no ports");
|
||||||
test(desc->Name, "WARNING: Plugin has no name" );
|
test(desc->Name, "WARNING: Plugin has no name" );
|
||||||
test(LADSPA_IS_HARD_RT_CAPABLE( desc->Properties ), "WARNING: Plugin is not RT capable" );
|
|
||||||
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -454,11 +454,12 @@ Plugin_Module::load ( unsigned long id )
|
||||||
WARNING( "Cannot use this plugin because it is incapable of processing audio in-place" );
|
WARNING( "Cannot use this plugin because it is incapable of processing audio in-place" );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else if ( ! LADSPA_IS_HARD_RT_CAPABLE( _idata->descriptor->Properties ) )
|
|
||||||
{
|
/* 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;
|
/* WARNING( "Cannot use this plugin because it is incapable of hard real-time operation" ); */
|
||||||
}
|
/* return false; */
|
||||||
|
/* } */
|
||||||
|
|
||||||
MESSAGE( "Name: %s", _idata->descriptor->Name );
|
MESSAGE( "Name: %s", _idata->descriptor->Name );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue