Merge branch 'stable-1.1'

This commit is contained in:
Vesa
2014-11-18 09:22:25 +02:00
8 changed files with 49 additions and 26 deletions

View File

@@ -109,7 +109,7 @@ void AutomationPattern::addObject( AutomatableModel * _obj, bool _search_dup )
if( m_objects.isEmpty() && hasAutomation() == false )
{
// then initialize first value
putValue( MidiTime(0), _obj->value<float>(), false );
putValue( MidiTime(0), _obj->inverseScaledValue( _obj->value<float>() ), false );
}
m_objects += _obj;

View File

@@ -914,6 +914,15 @@ Mixer::fifoWriter::fifoWriter( Mixer* mixer, fifo * _fifo ) :
m_fifo( _fifo ),
m_writing( true )
{
// set denormal protection for this thread
#ifdef __SSE3__
/* DAZ flag */
_MM_SET_DENORMALS_ZERO_MODE( _MM_DENORMALS_ZERO_ON );
#endif
#ifdef __SSE__
/* FTZ flag */
_MM_SET_FLUSH_ZERO_MODE( _MM_FLUSH_ZERO_ON );
#endif
}

View File

@@ -734,7 +734,7 @@ void knob::enterValue()
}
else
{
new_val = pow( 10.0, ( new_val / 20.0 ) ) * 100.0;
new_val = dbvToAmp( new_val ) * 100.0;
}
}
else