Browse Source

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

tags/non-daw-v1.2.0
Jonathan Moore Liles 10 years ago
parent
commit
200bfe91ca
2 changed files with 16 additions and 6 deletions
  1. +10
    -1
      mixer/src/LADSPAInfo.C
  2. +6
    -5
      mixer/src/Plugin_Module.C

+ 10
- 1
mixer/src/LADSPAInfo.C 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" );
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;
}


+ 6
- 5
mixer/src/Plugin_Module.C 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 );



Loading…
Cancel
Save