Mixer: Fix segfault on attempt to make osc ports for module ports which shouldn't be controllable.

This commit is contained in:
Jonathan Moore Liles 2013-04-16 18:57:01 -07:00
parent eff5189638
commit 7900ef6add
1 changed files with 4 additions and 1 deletions

View File

@ -234,7 +234,10 @@ Module::handle_control_changed ( Port *p )
bool
Module::Port::connected_osc ( void ) const
{
if ( _scaled_signal )
return _scaled_signal->connected();
else
return false;
}
char *