Skip to content

Commit

Permalink
AFP renamed updateFromTo() to updateSampleRange()
Browse files Browse the repository at this point in the history
  • Loading branch information
curlymorphic authored and Wallacoloo committed Apr 18, 2015
1 parent 454a382 commit 3736dd5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions plugins/audio_file_processor/audio_file_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ void AudioFileProcessorView::paintEvent( QPaintEvent * )

void AudioFileProcessorView::sampleUpdated( void )
{
m_waveView->updateFromTo();
m_waveView->updateSampleRange();
m_waveView->update();
update();
}
Expand All @@ -733,7 +733,7 @@ void AudioFileProcessorView::openAudioFile( void )
{
castModel<audioFileProcessor>()->setAudioFile( af );
Engine::getSong()->setModified();
m_waveView->updateFromTo();
m_waveView->updateSampleRange();
}
}

Expand All @@ -759,7 +759,7 @@ void AudioFileProcessorView::modelChanged( void )



void AudioFileProcessorWaveView::updateFromTo()
void AudioFileProcessorWaveView::updateSampleRange()
{
if( m_sampleBuffer.frames() > 1 )
{
Expand Down Expand Up @@ -789,7 +789,7 @@ AudioFileProcessorWaveView::AudioFileProcessorWaveView( QWidget * _parent, int _
setFixedSize( _w, _h );
setMouseTracking( true );

updateFromTo();
updateSampleRange();

m_graph.fill( Qt::transparent );
update();
Expand Down
2 changes: 1 addition & 1 deletion plugins/audio_file_processor/audio_file_processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public slots:
void setKnobs(knob *_start, knob *_end, knob *_loop );


void updateFromTo();
void updateSampleRange();
private:
void zoom( const bool _out = false );
void slide( int _px );
Expand Down

0 comments on commit 3736dd5

Please sign in to comment.