eliminated warnings when compiling with GCC 4.3
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@671 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
/*
|
||||
* audio_alsa.cpp - device-class which implements ALSA-PCM-output
|
||||
*
|
||||
* Copyright (c) 2004-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -36,6 +36,7 @@
|
||||
#ifdef ALSA_SUPPORT
|
||||
|
||||
#include "endian_handling.h"
|
||||
#include "automatable_model_templates.h"
|
||||
#include "config_mgr.h"
|
||||
#include "lcd_spinbox.h"
|
||||
#include "gui_templates.h"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* audio_file_device.cpp - base-class for audio-device-classes which write
|
||||
* their output into a file
|
||||
*
|
||||
* Copyright (c) 2004-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -28,9 +28,9 @@
|
||||
|
||||
#include <QtGui/QMessageBox>
|
||||
|
||||
|
||||
#include "audio_file_device.h"
|
||||
#include "export_project_dialog.h"
|
||||
#include "automatable_model_templates.h"
|
||||
|
||||
|
||||
audioFileDevice::audioFileDevice( const sample_rate_t _sample_rate,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/*
|
||||
* audio_jack.cpp - support for JACK-transport
|
||||
*
|
||||
* Copyright (c) 2005-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2005-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -40,6 +40,7 @@
|
||||
|
||||
#include "debug.h"
|
||||
#include "templates.h"
|
||||
#include "automatable_model_templates.h"
|
||||
#include "gui_templates.h"
|
||||
#include "config_mgr.h"
|
||||
#include "lcd_spinbox.h"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/*
|
||||
* audio_oss.cpp - device-class that implements OSS-PCM-output
|
||||
*
|
||||
* Copyright (c) 2004-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <QtGui/QLineEdit>
|
||||
|
||||
#include "endian_handling.h"
|
||||
#include "automatable_model_templates.h"
|
||||
#include "lcd_spinbox.h"
|
||||
#include "gui_templates.h"
|
||||
#include "templates.h"
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include "audio_port.h"
|
||||
#include "audio_device.h"
|
||||
#include "engine.h"
|
||||
#include "automatable_model_templates.h"
|
||||
|
||||
|
||||
audioPort::audioPort( const QString & _name, track * _track ) :
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
|
||||
|
||||
#include "song_editor.h"
|
||||
#include "automatable_model_templates.h"
|
||||
#include "main_window.h"
|
||||
#include "embed.h"
|
||||
#include "engine.h"
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include "dummy_effect.h"
|
||||
#include "effect_chain.h"
|
||||
#include "effect_view.h"
|
||||
#include "automatable_model_templates.h"
|
||||
|
||||
|
||||
effect::effect( const plugin::descriptor * _desc,
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
|
||||
#include "effect_chain.h"
|
||||
#include "engine.h"
|
||||
#include "automatable_model_templates.h"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
#include "effect_control_dialog.h"
|
||||
#include "effect_controls.h"
|
||||
#include "effect.h"
|
||||
#include "automatable_model_templates.h"
|
||||
|
||||
|
||||
effectControlDialog::effectControlDialog( effectControls * _controls ) :
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/*
|
||||
* effect_select_dialog.cpp - dialog to choose effect plugin
|
||||
*
|
||||
* Copyright (c) 2006-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2006-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -33,6 +33,7 @@
|
||||
#include "effect_select_dialog.h"
|
||||
|
||||
#include "gui_templates.h"
|
||||
#include "automatable_model_templates.h"
|
||||
#include "embed.h"
|
||||
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/*
|
||||
* main.cpp - just main.cpp which is starting up app...
|
||||
*
|
||||
* Copyright (c) 2004-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -43,6 +43,7 @@
|
||||
#include "export_project_dialog.h"
|
||||
#include "song_editor.h"
|
||||
#include "gui_templates.h"
|
||||
#include "automatable_model_templates.h"
|
||||
|
||||
#warning TODO: move somewhere else
|
||||
static inline QString baseName( const QString & _file )
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include "meter_dialog.h"
|
||||
#include "embed.h"
|
||||
#include "gui_templates.h"
|
||||
#include "automatable_model_templates.h"
|
||||
|
||||
|
||||
meterDialog::meterDialog( QWidget * _parent, track * _track ):
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/*
|
||||
* mixer.cpp - audio-device-independent mixer for LMMS
|
||||
*
|
||||
* Copyright (c) 2004-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -39,6 +39,7 @@
|
||||
#include "sample_play_handle.h"
|
||||
#include "piano_roll.h"
|
||||
#include "micro_timer.h"
|
||||
#include "automatable_model_templates.h"
|
||||
|
||||
#include "audio_device.h"
|
||||
#include "midi_client.h"
|
||||
|
||||
@@ -144,7 +144,7 @@ presetPreviewPlayHandle::presetPreviewPlayHandle(
|
||||
// create note-play-handle for it
|
||||
m_previewNote = new notePlayHandle(
|
||||
s_previewTC->previewInstrumentTrack(), 0,
|
||||
valueRanges<f_cnt_t>::max / 2,
|
||||
valueRanges<f_cnt_t>::max() / 2,
|
||||
note( 0, 0, static_cast<tones>( A ),
|
||||
static_cast<octaves>( DEFAULT_OCTAVE - 1 ), 100 ) );
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/*
|
||||
* setup_dialog.cpp - dialog for setting up LMMS
|
||||
*
|
||||
* Copyright (c) 2005-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2005-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -49,6 +49,7 @@
|
||||
#include "tooltip.h"
|
||||
#include "led_checkbox.h"
|
||||
#include "lcd_spinbox.h"
|
||||
#include "automatable_model_templates.h"
|
||||
|
||||
|
||||
// platform-specific audio-interface-classes
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/*
|
||||
* timeline.cpp - class timeLine, representing a time-line with position marker
|
||||
*
|
||||
* Copyright (c) 2004-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -40,6 +40,7 @@
|
||||
#include "nstate_button.h"
|
||||
#include "main_window.h"
|
||||
#include "text_float.h"
|
||||
#include "automatable_model_templates.h"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -27,7 +27,8 @@
|
||||
#include "drumsynth.h"
|
||||
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
#include <cstring>
|
||||
#include <limits>
|
||||
|
||||
#include <math.h> //sin(), exp(), etc.
|
||||
#include <stdio.h> //sscanf(), sprintf()
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
#include "config_mgr.h"
|
||||
#include "project_version.h"
|
||||
#include "song_editor.h"
|
||||
#include "automatable_model_templates.h"
|
||||
|
||||
|
||||
multimediaProject::typeDescStruct
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/*
|
||||
* project_journal.cpp - implementation of project-journal
|
||||
*
|
||||
* Copyright (c) 2006-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2006-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -31,6 +31,7 @@
|
||||
#include "engine.h"
|
||||
#include "journalling_object.h"
|
||||
#include "song_editor.h"
|
||||
#include "automatable_model_templates.h"
|
||||
|
||||
|
||||
projectJournal::projectJournal( void ) :
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/*
|
||||
* midi_alsa_seq.cpp - ALSA-sequencer-client
|
||||
*
|
||||
* Copyright (c) 2005-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2005-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -36,6 +36,7 @@
|
||||
#include "song_editor.h"
|
||||
#include "midi_port.h"
|
||||
#include "note.h"
|
||||
#include "automatable_model_templates.h"
|
||||
|
||||
|
||||
#ifdef ALSA_SUPPORT
|
||||
|
||||
@@ -500,7 +500,7 @@ void instrumentTrack::processInEvent( const midiEvent & _me,
|
||||
notePlayHandle( this,
|
||||
_time.frames(
|
||||
engine::framesPerTact64th() ),
|
||||
valueRanges<f_cnt_t>::max / 2,
|
||||
valueRanges<f_cnt_t>::max() / 2,
|
||||
n );
|
||||
if( engine::getMixer()->addPlayHandle(
|
||||
nph ) )
|
||||
@@ -734,7 +734,7 @@ void instrumentTrack::setName( const QString & _new_name )
|
||||
for( int i = 0; i < numOfTCOs(); ++i )
|
||||
{
|
||||
pattern * p = dynamic_cast<pattern *>( getTCO( i ) );
|
||||
if( p != NULL && p->name() == m_name || p->name() == "" )
|
||||
if( ( p != NULL && p->name() == m_name ) || p->name() == "" )
|
||||
{
|
||||
p->setName( _new_name );
|
||||
}
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
|
||||
#include "embed.h"
|
||||
#include "gui_templates.h"
|
||||
#include "automatable_model_templates.h"
|
||||
|
||||
|
||||
QPixmap * groupBox::s_ledBg = NULL;
|
||||
|
||||
Reference in New Issue
Block a user