mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-18 19:55:00 -04:00
clang-tidy: Apply modernize-redundant-void-arg everywhere (#6446)
This commit is contained in:
@@ -289,7 +289,7 @@ void AudioFileProcessor::loadFile( const QString & _file )
|
||||
|
||||
|
||||
|
||||
QString AudioFileProcessor::nodeName( void ) const
|
||||
QString AudioFileProcessor::nodeName() const
|
||||
{
|
||||
return audiofileprocessor_plugin_descriptor.name;
|
||||
}
|
||||
@@ -339,7 +339,7 @@ void AudioFileProcessor::setAudioFile( const QString & _audio_file,
|
||||
|
||||
|
||||
|
||||
void AudioFileProcessor::reverseModelChanged( void )
|
||||
void AudioFileProcessor::reverseModelChanged()
|
||||
{
|
||||
m_sampleBuffer.setReversed( m_reverseModel.value() );
|
||||
m_nextPlayStartPoint = m_sampleBuffer.startFrame();
|
||||
@@ -349,7 +349,7 @@ void AudioFileProcessor::reverseModelChanged( void )
|
||||
|
||||
|
||||
|
||||
void AudioFileProcessor::ampModelChanged( void )
|
||||
void AudioFileProcessor::ampModelChanged()
|
||||
{
|
||||
m_sampleBuffer.setAmplification( m_ampModel.value() / 100.0f );
|
||||
}
|
||||
@@ -362,7 +362,7 @@ void AudioFileProcessor::stutterModelChanged()
|
||||
}
|
||||
|
||||
|
||||
void AudioFileProcessor::startPointChanged( void )
|
||||
void AudioFileProcessor::startPointChanged()
|
||||
{
|
||||
// check if start is over end and swap values if so
|
||||
if( m_startPointModel.value() > m_endPointModel.value() )
|
||||
@@ -394,14 +394,14 @@ void AudioFileProcessor::startPointChanged( void )
|
||||
|
||||
}
|
||||
|
||||
void AudioFileProcessor::endPointChanged( void )
|
||||
void AudioFileProcessor::endPointChanged()
|
||||
{
|
||||
// same as start, for now
|
||||
startPointChanged();
|
||||
|
||||
}
|
||||
|
||||
void AudioFileProcessor::loopPointChanged( void )
|
||||
void AudioFileProcessor::loopPointChanged()
|
||||
{
|
||||
|
||||
// check that loop point is between start-end points and not overlapping with endpoint
|
||||
@@ -424,7 +424,7 @@ void AudioFileProcessor::loopPointChanged( void )
|
||||
pointChanged();
|
||||
}
|
||||
|
||||
void AudioFileProcessor::pointChanged( void )
|
||||
void AudioFileProcessor::pointChanged()
|
||||
{
|
||||
const f_cnt_t f_start = static_cast<f_cnt_t>( m_startPointModel.value() * ( m_sampleBuffer.frames()-1 ) );
|
||||
const f_cnt_t f_end = static_cast<f_cnt_t>( m_endPointModel.value() * ( m_sampleBuffer.frames()-1 ) );
|
||||
@@ -677,7 +677,7 @@ void AudioFileProcessorView::paintEvent( QPaintEvent * )
|
||||
|
||||
|
||||
|
||||
void AudioFileProcessorView::sampleUpdated( void )
|
||||
void AudioFileProcessorView::sampleUpdated()
|
||||
{
|
||||
m_waveView->updateSampleRange();
|
||||
m_waveView->update();
|
||||
@@ -688,7 +688,7 @@ void AudioFileProcessorView::sampleUpdated( void )
|
||||
|
||||
|
||||
|
||||
void AudioFileProcessorView::openAudioFile( void )
|
||||
void AudioFileProcessorView::openAudioFile()
|
||||
{
|
||||
QString af = castModel<AudioFileProcessor>()->m_sampleBuffer.
|
||||
openAudioFile();
|
||||
@@ -703,7 +703,7 @@ void AudioFileProcessorView::openAudioFile( void )
|
||||
|
||||
|
||||
|
||||
void AudioFileProcessorView::modelChanged( void )
|
||||
void AudioFileProcessorView::modelChanged()
|
||||
{
|
||||
AudioFileProcessor * a = castModel<AudioFileProcessor>();
|
||||
connect( &a->m_sampleBuffer, SIGNAL( sampleUpdated() ),
|
||||
|
||||
Reference in New Issue
Block a user