Rename fixes
This commit is contained in:
@@ -99,12 +99,12 @@ void BufferManager::extend( int c )
|
||||
MM_FREE( s_available );
|
||||
s_available = tmp;
|
||||
|
||||
int cc = c * engine::mixer()->framesPerPeriod();
|
||||
int cc = c * Engine::mixer()->framesPerPeriod();
|
||||
sampleFrame * b = MM_ALLOC( sampleFrame, cc );
|
||||
|
||||
for( int i = 0; i < c; ++i )
|
||||
{
|
||||
s_available[ s_availableIndex.fetchAndAddOrdered( 1 ) + 1 ] = b;
|
||||
b += engine::mixer()->framesPerPeriod();
|
||||
b += Engine::mixer()->framesPerPeriod();
|
||||
}
|
||||
}*/
|
||||
|
||||
@@ -1111,7 +1111,7 @@ QString & SampleBuffer::toBase64( QString & _dst ) const
|
||||
/* FLAC__stream_encoder_set_do_exhaustive_model_search( flac_enc, true );
|
||||
FLAC__stream_encoder_set_do_mid_side_stereo( flac_enc, true );*/
|
||||
FLAC__stream_encoder_set_sample_rate( flac_enc,
|
||||
engine::mixer()->sampleRate() );
|
||||
Engine::mixer()->sampleRate() );
|
||||
QBuffer ba_writer;
|
||||
ba_writer.open( QBuffer::WriteOnly );
|
||||
|
||||
|
||||
@@ -232,7 +232,7 @@ void AudioPortAudio::applyQualitySettings()
|
||||
if( hqAudio() )
|
||||
{
|
||||
|
||||
setSampleRate( engine::mixer()->processingSampleRate() );
|
||||
setSampleRate( Engine::mixer()->processingSampleRate() );
|
||||
int samples = mixer()->framesPerPeriod();
|
||||
|
||||
PaError err = Pa_OpenStream(
|
||||
|
||||
@@ -137,7 +137,7 @@ SongEditor::SongEditor( Song * _song ) :
|
||||
connect( hq_btn, SIGNAL( toggled( bool ) ),
|
||||
this, SLOT( setHighQuality( bool ) ) );
|
||||
hq_btn->setFixedWidth( 42 );
|
||||
engine::mainWindow()->addWidgetToToolBar( hq_btn, 1, col );
|
||||
Engine::mainWindow()->addWidgetToToolBar( hq_btn, 1, col );
|
||||
#endif
|
||||
|
||||
Engine::mainWindow()->addWidgetToToolBar( new TimeDisplayWidget, 1, tempoSpinBoxCol );
|
||||
|
||||
@@ -41,7 +41,7 @@ static const QString names[ledCheckBox::NumColors] =
|
||||
|
||||
//! @todo: in C++11, we can use delegating ctors
|
||||
#define DEFAULT_LEDCHECKBOX_INITIALIZER_LIST \
|
||||
automatableButton( _parent, _name )
|
||||
AutomatableButton( _parent, _name )
|
||||
|
||||
ledCheckBox::ledCheckBox( const QString & _text, QWidget * _parent,
|
||||
const QString & _name, LedColors _color ) :
|
||||
|
||||
Reference in New Issue
Block a user