MCPcopy Create free account
hub / github.com/LMMS/lmms / isRealTimeCapable

Method isRealTimeCapable

src/core/LadspaManager.cpp:310–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308
309
310bool LadspaManager::isRealTimeCapable(
311 const ladspa_key_t & _plugin )
312{
313 if( m_ladspaManagerMap.contains( _plugin ) )
314 {
315 LADSPA_Descriptor_Function descriptorFunction =
316 m_ladspaManagerMap[_plugin]->descriptorFunction;
317 const LADSPA_Descriptor * descriptor =
318 descriptorFunction(
319 m_ladspaManagerMap[_plugin]->index );
320 return( LADSPA_IS_HARD_RT_CAPABLE( descriptor->Properties ) );
321 }
322 else
323 {
324 return( false );
325 }
326}
327
328
329

Callers 2

fillDescriptionWidgetMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected