Fix some unused parameter warnings.
authorCarl Hetherington <carl@carlh.net>
Tue, 21 Jul 2009 15:55:17 +0000 (15:55 +0000)
committerCarl Hetherington <carl@carlh.net>
Tue, 21 Jul 2009 15:55:17 +0000 (15:55 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf

195 files changed:
gtk2_ardour/add_route_dialog.cc
gtk2_ardour/analysis_window.cc
gtk2_ardour/ardour_ui.cc
gtk2_ardour/ardour_ui_dependents.cc
gtk2_ardour/ardour_ui_dialogs.cc
gtk2_ardour/audio_clock.cc
gtk2_ardour/audio_region_editor.cc
gtk2_ardour/audio_region_view.cc
gtk2_ardour/automation_line.cc
gtk2_ardour/automation_region_view.cc
gtk2_ardour/automation_streamview.cc
gtk2_ardour/automation_time_axis.cc
gtk2_ardour/automation_time_axis.h
gtk2_ardour/bundle_manager.cc
gtk2_ardour/canvas-flag.cc
gtk2_ardour/canvas-simpleline.c
gtk2_ardour/canvas-simplerect.c
gtk2_ardour/canvas-waveview.c
gtk2_ardour/control_point.cc
gtk2_ardour/crossfade_edit.cc
gtk2_ardour/editor.cc
gtk2_ardour/editor_audio_import.cc
gtk2_ardour/editor_canvas.cc
gtk2_ardour/editor_canvas_events.cc
gtk2_ardour/editor_drag.cc
gtk2_ardour/editor_hscroller.cc
gtk2_ardour/editor_keys.cc
gtk2_ardour/editor_markers.cc
gtk2_ardour/editor_mouse.cc
gtk2_ardour/editor_ops.cc
gtk2_ardour/editor_regions.cc
gtk2_ardour/editor_route_groups.cc
gtk2_ardour/editor_routes.cc
gtk2_ardour/editor_rulers.cc
gtk2_ardour/editor_selection.cc
gtk2_ardour/engine_dialog.cc
gtk2_ardour/export_format_dialog.cc
gtk2_ardour/fft_graph.cc
gtk2_ardour/gain_meter.cc
gtk2_ardour/generic_pluginui.cc
gtk2_ardour/ghostregion.cc
gtk2_ardour/gtk-custom-ruler.c
gtk2_ardour/io_selector.cc
gtk2_ardour/keyboard.cc
gtk2_ardour/level_meter.cc
gtk2_ardour/lineset.cc
gtk2_ardour/location_ui.cc
gtk2_ardour/lv2_plugin_ui.cc
gtk2_ardour/main.cc
gtk2_ardour/midi_channel_selector.cc
gtk2_ardour/midi_streamview.cc
gtk2_ardour/mixer_strip.cc
gtk2_ardour/mixer_ui.cc
gtk2_ardour/nag.cc
gtk2_ardour/panner_ui.cc
gtk2_ardour/piano_roll_header.cc
gtk2_ardour/plugin_eq_gui.cc
gtk2_ardour/plugin_selector.cc
gtk2_ardour/plugin_ui.cc
gtk2_ardour/plugin_ui.h
gtk2_ardour/port_matrix_column_labels.cc
gtk2_ardour/port_matrix_grid.cc
gtk2_ardour/port_matrix_row_labels.cc
gtk2_ardour/processor_box.cc
gtk2_ardour/rc_option_editor.cc
gtk2_ardour/region_view.cc
gtk2_ardour/route_time_axis.cc
gtk2_ardour/route_ui.cc
gtk2_ardour/selection.cc
gtk2_ardour/session_import_dialog.cc
gtk2_ardour/session_metadata_dialog.h
gtk2_ardour/session_option_editor.cc
gtk2_ardour/sfdb_ui.cc
gtk2_ardour/splash.cc
gtk2_ardour/startup.cc
gtk2_ardour/streamview.h
gtk2_ardour/tape_region_view.cc
gtk2_ardour/tempo_dialog.cc
gtk2_ardour/theme_manager.cc
gtk2_ardour/time_axis_view.cc
gtk2_ardour/time_axis_view.h
gtk2_ardour/time_axis_view_item.cc
gtk2_ardour/time_fx_dialog.cc
gtk2_ardour/utils.cc
libs/ardour/amp.cc
libs/ardour/ardour/automatable.h
libs/ardour/ardour/automatable_sequence.h
libs/ardour/ardour/diskstream.h
libs/ardour/ardour/export_channel.h
libs/ardour/ardour/export_utilities.h
libs/ardour/ardour/interpolation.h
libs/ardour/ardour/ladspa_plugin.h
libs/ardour/ardour/lv2_plugin.h
libs/ardour/ardour/midi_region.h
libs/ardour/ardour/panner.h
libs/ardour/ardour/playlist.h
libs/ardour/ardour/plugin.h
libs/ardour/ardour/port.h
libs/ardour/ardour/processor.h
libs/ardour/ardour/region.h
libs/ardour/ardour/route.h
libs/ardour/ardour/route_group_specialized.h
libs/ardour/ardour/session.h
libs/ardour/ardour/silentfilesource.h
libs/ardour/ardour/slave.h
libs/ardour/ardour/source.h
libs/ardour/ardour/track.h
libs/ardour/audio_diskstream.cc
libs/ardour/audio_playlist.cc
libs/ardour/audio_track.cc
libs/ardour/audioengine.cc
libs/ardour/audiofilesource.cc
libs/ardour/audioregion.cc
libs/ardour/audiosource.cc
libs/ardour/auditioner.cc
libs/ardour/crossfade.cc
libs/ardour/delivery.cc
libs/ardour/diskstream.cc
libs/ardour/export_format_manager.cc
libs/ardour/file_source.cc
libs/ardour/gain.cc
libs/ardour/import.cc
libs/ardour/internal_return.cc
libs/ardour/interpolation.cc
libs/ardour/io.cc
libs/ardour/io_processor.cc
libs/ardour/location.cc
libs/ardour/lv2_event_buffer.cc
libs/ardour/lv2_plugin.cc
libs/ardour/meter.cc
libs/ardour/midi_buffer.cc
libs/ardour/midi_clock_slave.cc
libs/ardour/midi_diskstream.cc
libs/ardour/midi_playlist.cc
libs/ardour/midi_port.cc
libs/ardour/midi_region.cc
libs/ardour/midi_source.cc
libs/ardour/midi_track.cc
libs/ardour/mtc_slave.cc
libs/ardour/named_selection.cc
libs/ardour/panner.cc
libs/ardour/plugin_insert.cc
libs/ardour/plugin_manager.cc
libs/ardour/region.cc
libs/ardour/route.cc
libs/ardour/session.cc
libs/ardour/session_midi.cc
libs/ardour/session_state.cc
libs/ardour/session_time.cc
libs/ardour/sndfileimportable.cc
libs/ardour/sndfilesource.cc
libs/ardour/template_utils.cc
libs/ardour/ticker.cc
libs/ardour/track.cc
libs/ardour/uri_map.cc
libs/evoral/src/ControlList.cpp
libs/evoral/src/libsmf/smf_load.c
libs/gtkmm2ext/auto_spin.cc
libs/gtkmm2ext/barcontroller.cc
libs/gtkmm2ext/binding_proxy.cc
libs/gtkmm2ext/cell_renderer_pixbuf_toggle.cc
libs/gtkmm2ext/click_box.cc
libs/gtkmm2ext/fastmeter.cc
libs/gtkmm2ext/gtk_ui.cc
libs/gtkmm2ext/gtkmm2ext/barcontroller.h
libs/gtkmm2ext/popup.cc
libs/gtkmm2ext/prompter.cc
libs/gtkmm2ext/slider_controller.cc
libs/gtkmm2ext/tearoff.cc
libs/midi++2/jack_midiport.cc
libs/midi++2/midi++/fd_midiport.h
libs/midi++2/midichannel.cc
libs/midi++2/midifactory.cc
libs/midi++2/midiparser.cc
libs/midi++2/midiport.cc
libs/midi++2/mmc.cc
libs/pbd/pathscanner.cc
libs/pbd/pbd/controllable.h
libs/pbd/stacktrace.cc
libs/rubberband/src/HighFrequencyAudioCurve.cpp
libs/rubberband/src/PercussiveAudioCurve.cpp
libs/rubberband/src/SpectralDifferenceAudioCurve.cpp
libs/rubberband/src/Thread.cpp
libs/surfaces/control_protocol/control_protocol/control_protocol.h
libs/surfaces/generic_midi/generic_midi_control_protocol.cc
libs/surfaces/generic_midi/interface.cc
libs/surfaces/generic_midi/midicontrollable.cc
libs/surfaces/osc/interface.cc
libs/surfaces/osc/osc.cc
libs/surfaces/osc/osc.h
libs/surfaces/osc/osc_controllable.cc
libs/surfaces/powermate/interface.cc
libs/surfaces/powermate/powermate.cc
libs/vamp-plugins/AmplitudeFollower.cpp
libs/vamp-sdk/src/vamp-sdk/PluginAdapter.cpp

index 02ec359ec23435d685fa6ea84fa65104177801d4..280918aefc784f6a5c2c49213a53a0513965a09e 100644 (file)
@@ -405,7 +405,7 @@ AddRouteDialog::group_changed ()
 }
 
 bool
-AddRouteDialog::channel_separator (const Glib::RefPtr<Gtk::TreeModel> &m, const Gtk::TreeModel::iterator &i)
+AddRouteDialog::channel_separator (const Glib::RefPtr<Gtk::TreeModel> &, const Gtk::TreeModel::iterator &i)
 {
        channel_combo.set_active (i);
 
@@ -413,7 +413,7 @@ AddRouteDialog::channel_separator (const Glib::RefPtr<Gtk::TreeModel> &m, const
 }
 
 bool
-AddRouteDialog::route_separator (const Glib::RefPtr<Gtk::TreeModel> &m, const Gtk::TreeModel::iterator &i)
+AddRouteDialog::route_separator (const Glib::RefPtr<Gtk::TreeModel> &, const Gtk::TreeModel::iterator &i)
 {
        route_group_combo.set_active (i);
 
index ed2b90b34fa29ebeec165df8dfb613b7c3ca01bf..9b34ae4a4f3538d113459073840bba05a4a197d8 100644 (file)
@@ -198,7 +198,7 @@ AnalysisWindow::set_regionmode()
 }
 
 void 
-AnalysisWindow::track_list_row_changed(const Gtk::TreeModel::Path& path, const Gtk::TreeModel::iterator& iter)
+AnalysisWindow::track_list_row_changed(const Gtk::TreeModel::Path& /*path*/, const Gtk::TreeModel::iterator& /*iter*/)
 {
        if (track_list_ready) {
                fft_graph.redraw();
@@ -235,7 +235,7 @@ AnalysisWindow::analyze()
 }
 
 void
-AnalysisWindow::analyze_data (Gtk::Button *button)
+AnalysisWindow::analyze_data (Gtk::Button */*button*/)
 {
        track_list_ready = false;
        {
index 2a2b3cc10b522132650aad225805fb95b37e9d5b..de1273a7197bb154abf208ff2889c5c2e97e8db9 100644 (file)
@@ -440,7 +440,7 @@ ARDOUR_UI::configure_timeout ()
 }
 
 gboolean
-ARDOUR_UI::configure_handler (GdkEventConfigure* conf)
+ARDOUR_UI::configure_handler (GdkEventConfigure* /*conf*/)
 {
        if (have_configure_timeout) {
                last_configure_time = get_microseconds();
@@ -995,7 +995,7 @@ ARDOUR_UI::update_wall_clock ()
 }
 
 gint
-ARDOUR_UI::session_menu (GdkEventButton *ev)
+ARDOUR_UI::session_menu (GdkEventButton */*ev*/)
 {
        session_popup_menu->popup (0, 0);
        return TRUE;
@@ -1114,7 +1114,7 @@ ARDOUR_UI::build_session_selector ()
 }
 
 void
-ARDOUR_UI::recent_session_row_activated (const TreePath& path, TreeViewColumn* col)
+ARDOUR_UI::recent_session_row_activated (const TreePath& /*path*/, TreeViewColumn* /*col*/)
 {
        session_selector_window->response (RESPONSE_ACCEPT);
 }
@@ -2210,7 +2210,7 @@ ARDOUR_UI::end_loading_messages ()
 }
 
 void
-ARDOUR_UI::loading_message (const std::string& msg)
+ARDOUR_UI::loading_message (const std::string& /*msg*/)
 {
        // show_splash ();
        // splash->message (msg);
@@ -2527,7 +2527,7 @@ ARDOUR_UI::hide_about ()
 }
 
 void
-ARDOUR_UI::about_signal_response(int response)
+ARDOUR_UI::about_signal_response (int /*response*/)
 {
        hide_about();
 }
@@ -3033,7 +3033,7 @@ quickly enough to keep up with playback.\n"));
 }
 
 void
-ARDOUR_UI::disk_speed_dialog_gone (int ignored_response, MessageDialog* msg)
+ARDOUR_UI::disk_speed_dialog_gone (int /*ignored_response*/, MessageDialog* msg)
 {
        have_disk_speed_dialog_displayed = false;
        delete msg;
index 2d4f390272db1249408386e1bc6739bdbdb1eaae..ac7c8cfdde5006a8d33f224e889d9c45d7ef66a4 100644 (file)
@@ -123,7 +123,7 @@ ARDOUR_UI::toggle_editor_mixer_on_top ()
 }
 
 gint
-ARDOUR_UI::exit_on_main_window_close (GdkEventAny *ev)
+ARDOUR_UI::exit_on_main_window_close (GdkEventAny * /*ev*/)
 {
 #ifdef TOP_MENUBAR
        /* just hide the window, and return - the top menu stays up */
index 6cbaeb58f0a1f0487291596787cc586e98c7d383..91ff10d4730aa6c76c2ab0a69f56d3ffc88a5e5c 100644 (file)
@@ -393,7 +393,7 @@ ARDOUR_UI::toggle_route_params_window ()
 }
 
 void
-ARDOUR_UI::handle_locations_change (Location* ignored)
+ARDOUR_UI::handle_locations_change (Location *)
 {
        if (session) {
                if (session->locations()->num_range_markers()) {
index 28110c685fa70cab14203c985b6d6fe4ef1deb24..e79ba1906edbf8a0caec1460a486c8dbe10d1c36 100644 (file)
@@ -395,7 +395,7 @@ AudioClock::setup_events ()
 }
 
 bool
-AudioClock::drop_focus_handler (GdkEventFocus* ignored)
+AudioClock::drop_focus_handler (GdkEventFocus*)
 {
        Keyboard::magic_widget_drop_focus ();
        return false;
@@ -490,7 +490,7 @@ AudioClock::smpte_offset_changed ()
 }
 
 void
-AudioClock::set_frames (nframes_t when, bool force)
+AudioClock::set_frames (nframes_t when, bool /*force*/)
 {
        char buf[32];
        snprintf (buf, sizeof (buf), "%u", when);
@@ -735,7 +735,7 @@ AudioClock::focus ()
 
 
 bool
-AudioClock::field_key_press_event (GdkEventKey *ev, Field field)
+AudioClock::field_key_press_event (GdkEventKey */*ev*/, Field /*field*/)
 {
        /* all key activity is handled on key release */
        return true;
@@ -987,7 +987,7 @@ AudioClock::field_key_release_event (GdkEventKey *ev, Field field)
 }
 
 bool
-AudioClock::field_focus_in_event (GdkEventFocus *ev, Field field)
+AudioClock::field_focus_in_event (GdkEventFocus */*ev*/, Field field)
 {
        key_entry_state = 0;
 
@@ -1046,7 +1046,7 @@ AudioClock::field_focus_in_event (GdkEventFocus *ev, Field field)
 }
 
 bool
-AudioClock::field_focus_out_event (GdkEventFocus *ev, Field field)
+AudioClock::field_focus_out_event (GdkEventFocus */*ev*/, Field field)
 {
        switch (field) {
 
@@ -1182,9 +1182,11 @@ AudioClock::field_button_release_event (GdkEventButton *ev, Field field)
 }
 
 bool
-AudioClock::field_button_press_event (GdkEventButton *ev, Field field)
+AudioClock::field_button_press_event (GdkEventButton *ev, Field /*field*/)
 {
-       if (session == 0) return false;
+       if (session == 0) {
+               return false;
+       }
 
        nframes_t frames = 0;
 
index c746cbe6a941ca59136efe7888e062eb48c21408..73a9f92f1b2244f05f1e9468b85e023d7cb36bc7 100644 (file)
@@ -172,7 +172,7 @@ AudioRegionEditor::region_changed (Change what_changed)
 }
 
 gint 
-AudioRegionEditor::bpressed (GdkEventButton* ev, Gtk::SpinButton* but, void (AudioRegionEditor::*pmf)())
+AudioRegionEditor::bpressed (GdkEventButton* ev, Gtk::SpinButton* /*but*/, void (AudioRegionEditor::*/*pmf*/)())
 {
        switch (ev->button) {
        case 1:
@@ -195,7 +195,7 @@ AudioRegionEditor::bpressed (GdkEventButton* ev, Gtk::SpinButton* but, void (Aud
 }
 
 gint 
-AudioRegionEditor::breleased (GdkEventButton* ev, Gtk::SpinButton* but, void (AudioRegionEditor::*pmf)())
+AudioRegionEditor::breleased (GdkEventButton* /*ev*/, Gtk::SpinButton* /*but*/, void (AudioRegionEditor::*pmf)())
 {
        if (spin_arrow_grab) {
                (this->*pmf)();
index ca3c8b3ba1c6803c0abeeb60e014939ab9f36ec4..f5dd4da3d1807e7f0771ddb5ac64f41a1ec01511 100644 (file)
@@ -881,7 +881,7 @@ AudioRegionView::create_waves ()
 }
 
 void
-AudioRegionView::create_one_wave (uint32_t which, bool direct)
+AudioRegionView::create_one_wave (uint32_t which, bool /*direct*/)
 {
        //cerr << "AudioRegionView::create_one_wave() called which: " << which << " this: " << this << endl;//DEBUG
        RouteTimeAxisView& atv (*(dynamic_cast<RouteTimeAxisView*>(&trackview))); // ick
@@ -1030,7 +1030,7 @@ AudioRegionView::add_gain_point_event (ArdourCanvas::Item *item, GdkEvent *ev)
 }
 
 void
-AudioRegionView::remove_gain_point_event (ArdourCanvas::Item *item, GdkEvent *ev)
+AudioRegionView::remove_gain_point_event (ArdourCanvas::Item *item, GdkEvent */*ev*/)
 {
        ControlPoint *cp = reinterpret_cast<ControlPoint *> (item->get_data ("control_point"));
        audio_region()->envelope()->erase (cp->model());
index 5654ac22967dc31a0d8fec46d546a5e4156ab516..c404da9ac716de7cc3a17b14945bcd3cf9059cab 100644 (file)
@@ -1037,7 +1037,7 @@ AutomationLine::get_selectables (nframes_t& start, nframes_t& end,
 }
 
 void
-AutomationLine::get_inverted_selectables (Selection&, list<Selectable*>& results)
+AutomationLine::get_inverted_selectables (Selection&, list<Selectable*>& /*results*/)
 {
        // hmmm ....
 }
@@ -1198,7 +1198,7 @@ AutomationLine::clear ()
 }
 
 void
-AutomationLine::change_model (AutomationList::iterator i, double x, double y)
+AutomationLine::change_model (AutomationList::iterator /*i*/, double /*x*/, double /*y*/)
 {
 }
 
index 80dbd669ca1ccd5d768668f59d36d28f12ef77b9..5ad736d535f4c62f79f27797c5c7aeb38dc5f0f0 100644 (file)
@@ -46,7 +46,7 @@ AutomationRegionView::AutomationRegionView(ArdourCanvas::Group*
 }
 
 void
-AutomationRegionView::init (Gdk::Color const & basic_color, bool wfd)
+AutomationRegionView::init (Gdk::Color const & basic_color, bool /*wfd*/)
 {
        _enable_display = false;
        
@@ -92,7 +92,7 @@ AutomationRegionView::canvas_event(GdkEvent* ev)
 }
 
 void
-AutomationRegionView::add_automation_event (GdkEvent* event, nframes_t when, double y)
+AutomationRegionView::add_automation_event (GdkEvent* /*event*/, nframes_t when, double y)
 {
        if (!_line) {
                boost::shared_ptr<Evoral::Control> c = _region->control(_parameter, true);
index 1654e7e5a9ceac2240a11d18d2542a532a5d3feb..bed1bac5020f3ca6c08cb8b9fa18f215ce6c48b5 100644 (file)
@@ -70,7 +70,7 @@ AutomationStreamView::~AutomationStreamView ()
 
 
 RegionView*
-AutomationStreamView::add_region_view_internal (boost::shared_ptr<Region> region, bool wfd, bool recording)
+AutomationStreamView::add_region_view_internal (boost::shared_ptr<Region> region, bool wfd, bool /*recording*/)
 {
        if ( ! region) {
                cerr << "No region" << endl;
@@ -182,7 +182,7 @@ AutomationStreamView::setup_rec_box ()
 }
 
 void
-AutomationStreamView::update_rec_regions (nframes_t start, nframes_t dur)
+AutomationStreamView::update_rec_regions (nframes_t /*start*/, nframes_t /*dur*/)
 {
 }
 
index cdd624003fda728edca31c9950574e2fc90abf86..806359e2ab36f2e7b05935accc919f8d2f054060 100644 (file)
@@ -564,7 +564,7 @@ AutomationTimeAxisView::build_display_menu ()
 }
 
 void
-AutomationTimeAxisView::add_automation_event (ArdourCanvas::Item* item, GdkEvent* event, nframes_t when, double y)
+AutomationTimeAxisView::add_automation_event (ArdourCanvas::Item* /*item*/, GdkEvent* /*event*/, nframes_t when, double y)
 {
        if (!_line)
                return;
index b323d1d3bfcbfb53fed10f547a45adf6fbbde1b5..7390ee3d4f018879abc5fbf53272b77a93fd7345 100644 (file)
@@ -80,7 +80,7 @@ class AutomationTimeAxisView : public TimeAxisView {
        void get_selectables (nframes_t start, nframes_t end, double top, double bot, std::list<Selectable *>&);
        void get_inverted_selectables (Selection&, std::list<Selectable*>& results);
 
-       void show_timestretch (nframes_t start, nframes_t end) {}
+       void show_timestretch (nframes_t /*start*/, nframes_t /*end*/) {}
        void hide_timestretch () {}
 
        /* editing operations */
index 52415de4eebabeb11669a8480516ffcc328cf632..ed4a570bb18a910a8b8a63a79d19f10e0324aa16 100644 (file)
@@ -161,7 +161,7 @@ BundleEditorMatrix::list_is_global (int dim) const
        return (dim == OTHER);
 }
 
-BundleEditor::BundleEditor (Session& session, boost::shared_ptr<UserBundle> bundle, bool add)
+BundleEditor::BundleEditor (Session& session, boost::shared_ptr<UserBundle> bundle, bool /*add*/)
        : ArdourDialog (_("Edit Bundle")), _matrix (session, bundle), _bundle (bundle)
 {
        Gtk::Table* t = new Gtk::Table (3, 2);
index 41a2fbe8e4c83b9f2bdfa771857dc374aebdb28f..813c0b1468a34da2e7b89a2b626823340596077b 100644 (file)
@@ -45,7 +45,7 @@ CanvasFlag::~CanvasFlag()
 }
 
 bool
-CanvasFlag::on_event(GdkEvent* ev)
+CanvasFlag::on_event(GdkEvent* /*ev*/)
 {
        return false;
 }
index 576eedc369855e7e4de9423080360ebcbcc16f96..9a046230d46170ee99643efd6d0be10f79606081 100644 (file)
@@ -245,6 +245,8 @@ gnome_canvas_simpleline_set_property (GObject      *object,
                                      GParamSpec   *pspec)
 
 {
+       (void) pspec;
+       
        GnomeCanvasSimpleLine *simpleline;
        int update = FALSE;
        int bounds_changed = FALSE;
@@ -465,6 +467,9 @@ gnome_canvas_simpleline_bounds (GnomeCanvasItem *item, double *x1, double *y1, d
 static double
 gnome_canvas_simpleline_point (GnomeCanvasItem *item, double x, double y, int cx, int cy, GnomeCanvasItem **actual_item)
 {
+       (void) cx;
+       (void) cy;
+       
        GnomeCanvasSimpleLine *simpleline;
        double x1, y1, x2, y2;
        double dx, dy;
index 91649b64bbca6f2f7ed7ecc2c3ad660b7ecb8584..6ad0c791f887b4753a12ee5cbfe74642816d2e1b 100644 (file)
@@ -370,6 +370,8 @@ gnome_canvas_simplerect_set_property (GObject      *object,
                                      GParamSpec   *pspec)
 
 {
+       (void) pspec;
+       
        GnomeCanvasSimpleRect *simplerect;
        int update = FALSE;
        int bounds_changed = FALSE;
@@ -825,6 +827,9 @@ gnome_canvas_simplerect_draw (GnomeCanvasItem *item,
 static double
 gnome_canvas_simplerect_point (GnomeCanvasItem *item, double x, double y, int cx, int cy, GnomeCanvasItem **actual_item)
 {
+       (void) cx;
+       (void) cy;
+               
        GnomeCanvasSimpleRect *simplerect;
        double x1, y1, x2, y2;
        double dx, dy;
index fdcdcd87454c72f4316949f774f5c96721f5cda2..aab781081d57d124d887cb227ddb3b80069f2a3a 100644 (file)
@@ -738,6 +738,8 @@ gnome_canvas_waveview_set_property (GObject      *object,
                                    GParamSpec   *pspec)
 
 {
+       (void) pspec;
+       
        GnomeCanvasItem *item;
        GnomeCanvasWaveView *waveview;
        int redraw = FALSE;
@@ -1861,6 +1863,13 @@ gnome_canvas_waveview_bounds (GnomeCanvasItem *item, double *x1, double *y1, dou
 static double
 gnome_canvas_waveview_point (GnomeCanvasItem *item, double x, double y, int cx, int cy, GnomeCanvasItem **actual_item)
 {
+       (void) item;
+       (void) x;
+       (void) y;
+       (void) cx;
+       (void) cy;
+       (void) actual_item;
+       
        /* XXX for now, point is never inside the wave 
        GnomeCanvasWaveView *waveview;
        double x1, y1, x2, y2;
index b43826720c1a097a657be300f9362db7f4cbd177..5893c29e283d02923c6818461c8ea0bc386c4709 100644 (file)
@@ -56,7 +56,7 @@ ControlPoint::ControlPoint (AutomationLine& al)
        set_visible (false);
 }
 
-ControlPoint::ControlPoint (const ControlPoint& other, bool dummy_arg_to_force_special_copy_constructor)
+ControlPoint::ControlPoint (const ControlPoint& other, bool /*dummy_arg_to_force_special_copy_constructor*/)
        : _line (other._line)
 {
        if (&other == this) {
index e239ad9fdf0a4b9981e53b6bb2508accbae10f17..19723b6241a28b9fa1afc2e02fe36a9bbff2feab 100644 (file)
@@ -510,7 +510,7 @@ CrossfadeEditor::Point::move_to (double nx, double ny, double xfract, double yfr
 }
 
 void
-CrossfadeEditor::canvas_allocation (Gtk::Allocation& alloc)
+CrossfadeEditor::canvas_allocation (Gtk::Allocation& /*alloc*/)
 {
        if (toplevel) {
                toplevel->property_x1() = 0.0;
@@ -622,7 +622,7 @@ CrossfadeEditor::canvas_allocation (Gtk::Allocation& alloc)
 
 
 void
-CrossfadeEditor::xfade_changed (Change ignored)
+CrossfadeEditor::xfade_changed (Change)
 {
        set (xfade->fade_in(), In);
        set (xfade->fade_out(), Out);
@@ -1355,7 +1355,7 @@ CrossfadeEditor::audition_left_dry_toggled ()
 }
 
 bool
-CrossfadeEditor::on_key_press_event (GdkEventKey *ev)
+CrossfadeEditor::on_key_press_event (GdkEventKey */*ev*/)
 {
        return true;
 }
index fda0ebeacf729ec1eb0a2f2ad7fcdb0719d7df0a..8a23208cf6f68a4a4310ffcc5c4500b3d054fe0f 100644 (file)
@@ -911,7 +911,7 @@ Editor::control_scroll (float fraction)
 }
 
 bool
-Editor::deferred_control_scroll (nframes64_t target)
+Editor::deferred_control_scroll (nframes64_t /*target*/)
 {
        session->request_locate (*_control_scroll_target, session->transport_rolling());
        // reset for next stream
@@ -1468,7 +1468,7 @@ Editor::popup_track_context_menu (int button, int32_t time, ItemType item_type,
 }
 
 Menu*
-Editor::build_track_context_menu (nframes64_t ignored)
+Editor::build_track_context_menu (nframes64_t)
 {
        using namespace Menu_Helpers;
 
@@ -1480,7 +1480,7 @@ Editor::build_track_context_menu (nframes64_t ignored)
 }
 
 Menu*
-Editor::build_track_bus_context_menu (nframes64_t ignored)
+Editor::build_track_bus_context_menu (nframes64_t)
 {
        using namespace Menu_Helpers;
 
@@ -1612,7 +1612,7 @@ Editor::analyze_range_selection()
 }
 
 Menu*
-Editor::build_track_selection_context_menu (nframes64_t ignored)
+Editor::build_track_selection_context_menu (nframes64_t)
 {
        using namespace Menu_Helpers;
        MenuList& edit_items  = track_selection_context_menu.items();
@@ -1629,7 +1629,7 @@ Editor::build_track_selection_context_menu (nframes64_t ignored)
  * @param edit_items List to add the items to.
  */
 void
-Editor::add_crossfade_context_items (AudioStreamView* view, boost::shared_ptr<Crossfade> xfade, Menu_Helpers::MenuList& edit_items, bool many)
+Editor::add_crossfade_context_items (AudioStreamView* /*view*/, boost::shared_ptr<Crossfade> xfade, Menu_Helpers::MenuList& edit_items, bool many)
 {
        using namespace Menu_Helpers;
        Menu     *xfade_menu = manage (new Menu);
@@ -3132,12 +3132,12 @@ Editor::setup_midi_toolbar ()
 int
 Editor::convert_drop_to_paths (
                vector<ustring>&                paths, 
-               const RefPtr<Gdk::DragContext>& context,
-               gint                            x,
-               gint                            y,
+               const RefPtr<Gdk::DragContext>& /*context*/,
+               gint                            /*x*/,
+               gint                            /*y*/,
                const SelectionData&            data,
-               guint                           info,
-               guint                           time)
+               guint                           /*info*/,
+               guint                           /*time*/)
 {      
        if (session == 0) {
                return -1;
@@ -3806,7 +3806,7 @@ Editor::pane_allocation_handler (Allocation &alloc, Paned* which)
 }
 
 void
-Editor::detach_tearoff (Box* b, Window* w)
+Editor::detach_tearoff (Box* /*b*/, Window* /*w*/)
 {
        if (tools_tearoff->torn_off() && 
            mouse_mode_tearoff->torn_off()) {
@@ -3815,7 +3815,7 @@ Editor::detach_tearoff (Box* b, Window* w)
 }
 
 void
-Editor::reattach_tearoff (Box* b, Window* w, int32_t n)
+Editor::reattach_tearoff (Box* /*b*/, Window* /*w*/, int32_t /*n*/)
 {
        if (toolbar_frame.get_parent() == 0) {
                top_hbox.pack_end (toolbar_frame);
@@ -4143,7 +4143,7 @@ Editor::mapped_use_copy_playlist (RouteTimeAxisView& atv, uint32_t sz, vector<bo
 }
 
 void 
-Editor::mapped_clear_playlist (RouteTimeAxisView& atv, uint32_t sz)
+Editor::mapped_clear_playlist (RouteTimeAxisView& atv, uint32_t /*sz*/)
 {
        atv.clear_playlist ();
 }
@@ -4983,7 +4983,7 @@ Editor::remove_route (TimeAxisView *tv)
 }
 
 void
-Editor::hide_track_in_display (TimeAxisView& tv, bool temponly)
+Editor::hide_track_in_display (TimeAxisView& tv, bool /*temponly*/)
 {
        RouteTimeAxisView* rtv = dynamic_cast<RouteTimeAxisView*> (&tv);
 
index 7762a4232213efe31869c831360290a67c8ee7e3..884e890fbc36cbb130324c0e4910507110cd8b1b 100644 (file)
@@ -712,7 +712,7 @@ Editor::embed_sndfiles (vector<Glib::ustring> paths, bool multifile,
 
 int
 Editor::add_sources (vector<Glib::ustring> paths, SourceList& sources, nframes64_t& pos, ImportMode mode, 
-                    int target_regions, int target_tracks, boost::shared_ptr<Track>& track, bool add_channel_suffix)
+                    int target_regions, int target_tracks, boost::shared_ptr<Track>& track, bool /*add_channel_suffix*/)
 {
        vector<boost::shared_ptr<Region> > regions;
        ustring region_name;
@@ -903,7 +903,7 @@ Editor::import_thread ()
 }
 
 gint
-Editor::import_progress_timeout (void *arg)
+Editor::import_progress_timeout (void */*arg*/)
 {
        bool reset = false;
 
index 498a6cc0fd42135cb59e0d6169dccffe4194642c..d340da71f91956ccb0488704eae4e63f6388ad07 100644 (file)
@@ -430,7 +430,7 @@ Editor::controls_layout_size_request (Requisition* req)
 }
 
 bool
-Editor::track_canvas_map_handler (GdkEventAny* ev)
+Editor::track_canvas_map_handler (GdkEventAny* /*ev*/)
 {
        track_canvas->get_window()->set_cursor (*current_canvas_cursor);
        return false;
@@ -534,10 +534,10 @@ Editor::drop_paths (const RefPtr<Gdk::DragContext>& context,
 }
 
 void
-Editor::drop_regions (const RefPtr<Gdk::DragContext>& context,
-                     int x, int y
-                     const SelectionData& data,
-                     guint info, guint time)
+Editor::drop_regions (const RefPtr<Gdk::DragContext>& /*context*/,
+                     int /*x*/, int /*y*/
+                     const SelectionData& /*data*/,
+                     guint /*info*/, guint /*time*/)
 {
        assert (_drag);
        _drag->end_grab (0);
@@ -754,7 +754,7 @@ Editor::stop_canvas_autoscroll ()
 }
 
 bool
-Editor::left_track_canvas (GdkEventCrossing *ev)
+Editor::left_track_canvas (GdkEventCrossing */*ev*/)
 {
        set_entered_track (0);
        set_entered_regionview (0);
@@ -763,7 +763,7 @@ Editor::left_track_canvas (GdkEventCrossing *ev)
 }
 
 bool
-Editor::entered_track_canvas (GdkEventCrossing *ev)
+Editor::entered_track_canvas (GdkEventCrossing */*ev*/)
 {
        reset_canvas_action_sensitivity (true);
        return FALSE;
index 4a22c2bda7d4b8431c8e23c281ec9effcabbc95e..d965c82c08fe96fdfd80e2e47510d14cdc665c49 100644 (file)
@@ -184,7 +184,7 @@ Editor::track_canvas_scroll_event (GdkEventScroll *event)
 }
 
 bool
-Editor::track_canvas_button_press_event (GdkEventButton *event)
+Editor::track_canvas_button_press_event (GdkEventButton */*event*/)
 {
        selection->clear ();
        track_canvas->grab_focus();
@@ -203,7 +203,7 @@ Editor::track_canvas_button_release_event (GdkEventButton *event)
 }
 
 bool
-Editor::track_canvas_motion_notify_event (GdkEventMotion *event)
+Editor::track_canvas_motion_notify_event (GdkEventMotion */*event*/)
 {
        int x, y;
        /* keep those motion events coming */
@@ -835,7 +835,7 @@ Editor::canvas_region_view_name_event (GdkEvent *event, ArdourCanvas::Item* item
 }
 
 bool
-Editor::canvas_marker_event (GdkEvent *event, ArdourCanvas::Item* item, Marker* marker)
+Editor::canvas_marker_event (GdkEvent *event, ArdourCanvas::Item* item, Marker* /*marker*/)
 {
        return typed_event (item, event, MarkerItem);
 }
@@ -865,13 +865,13 @@ Editor::canvas_cd_marker_bar_event (GdkEvent *event, ArdourCanvas::Item* item)
 }
 
 bool
-Editor::canvas_tempo_marker_event (GdkEvent *event, ArdourCanvas::Item* item, TempoMarker* marker)
+Editor::canvas_tempo_marker_event (GdkEvent *event, ArdourCanvas::Item* item, TempoMarker* /*marker*/)
 {
        return typed_event (item, event, TempoMarkerItem);
 }
 
 bool
-Editor::canvas_meter_marker_event (GdkEvent *event, ArdourCanvas::Item* item, MeterMarker* marker)
+Editor::canvas_meter_marker_event (GdkEvent *event, ArdourCanvas::Item* item, MeterMarker* /*marker*/)
 {
        return typed_event (item, event, MeterMarkerItem);
 }
@@ -901,7 +901,7 @@ Editor::canvas_zoom_rect_event (GdkEvent *event, ArdourCanvas::Item* item)
 }
 
 bool
-Editor::track_canvas_drag_motion (Glib::RefPtr<Gdk::DragContext> const & c, int x, int y, guint time)
+Editor::track_canvas_drag_motion (Glib::RefPtr<Gdk::DragContext> const & /*c*/, int x, int y, guint /*time*/)
 {
        double wx;
        double wy;
index b9906eda5b3ec876ec27b007980fef638626b5f3..d42c3f1d61f9002c4793afc809ec025fe64d0d17 100644 (file)
@@ -720,7 +720,7 @@ RegionMoveDrag::motion (GdkEvent* event, bool first_move)
 }
 
 void
-RegionMoveDrag::finished (GdkEvent* event, bool movement_occurred)
+RegionMoveDrag::finished (GdkEvent* /*event*/, bool movement_occurred)
 {
        bool nocommit = true;
        vector<RegionView*> copies;
@@ -1243,7 +1243,7 @@ RegionMotionDrag::find_time_axis_views ()
 
 
 void
-RegionInsertDrag::finished (GdkEvent* event, bool movement_occurred)
+RegionInsertDrag::finished (GdkEvent* /*event*/, bool /*movement_occurred*/)
 {
        _editor->update_canvas_now ();
 
@@ -1280,7 +1280,7 @@ struct RegionSelectionByPosition {
 };
 
 void
-RegionSpliceDrag::motion (GdkEvent* event, bool)
+RegionSpliceDrag::motion (GdkEvent* /*event*/, bool)
 {
        RouteTimeAxisView* tv;
        layer_t layer;
@@ -1338,7 +1338,7 @@ RegionSpliceDrag::motion (GdkEvent* event, bool)
 }
 
 void
-RegionSpliceDrag::finished (GdkEvent* event, bool)
+RegionSpliceDrag::finished (GdkEvent* /*event*/, bool)
 {
        
 }
@@ -1361,7 +1361,7 @@ RegionCreateDrag::start_grab (GdkEvent* event, Gdk::Cursor *)
 
 
 void
-RegionCreateDrag::motion (GdkEvent* event, bool first_move)
+RegionCreateDrag::motion (GdkEvent* /*event*/, bool first_move)
 {
        if (first_move) {
                // TODO: create region-create-drag region view here
@@ -1415,7 +1415,7 @@ RegionCreateDrag::finished (GdkEvent* event, bool movement_occurred)
 
 
 void
-RegionGainDrag::motion (GdkEvent* event, bool)
+RegionGainDrag::motion (GdkEvent* /*event*/, bool)
 {
        
 }
@@ -2434,7 +2434,7 @@ ControlPointDrag::ControlPointDrag (Editor* e, ArdourCanvas::Item* i)
 
 
 void
-ControlPointDrag::start_grab (GdkEvent* event, Gdk::Cursor* cursor)
+ControlPointDrag::start_grab (GdkEvent* event, Gdk::Cursor* /*cursor*/)
 {
        Drag::start_grab (event, _editor->fader_cursor);
 
@@ -2552,7 +2552,7 @@ LineDrag::LineDrag (Editor* e, ArdourCanvas::Item* i)
 
 }
 void
-LineDrag::start_grab (GdkEvent* event, Gdk::Cursor* cursor)
+LineDrag::start_grab (GdkEvent* event, Gdk::Cursor* /*cursor*/)
 {
        _line = reinterpret_cast<AutomationLine*> (_item->get_data ("line"));
        assert (_line);
@@ -2771,7 +2771,7 @@ TimeFXDrag::motion (GdkEvent* event, bool)
 }
 
 void
-TimeFXDrag::finished (GdkEvent* event, bool movement_occurred)
+TimeFXDrag::finished (GdkEvent* /*event*/, bool movement_occurred)
 {
        _primary->get_time_axis_view().hide_timestretch ();
 
@@ -2814,13 +2814,13 @@ ScrubDrag::start_grab (GdkEvent* event, Gdk::Cursor *)
 }
 
 void
-ScrubDrag::motion (GdkEvent* event, bool)
+ScrubDrag::motion (GdkEvent* /*event*/, bool)
 {
        _editor->scrub ();
 }
 
 void
-ScrubDrag::finished (GdkEvent* event, bool movement_occurred)
+ScrubDrag::finished (GdkEvent* /*event*/, bool movement_occurred)
 {
        if (movement_occurred && _editor->session) {
                /* make sure we stop */
index b5f265daa5f4b79e809354546d8fd40d0da5dd76..f97b4610b6f4f13800d2aaff3aeffe6f7e06db47 100644 (file)
@@ -26,19 +26,19 @@ using namespace ARDOUR;
 using namespace PBD;
 
 void
-Editor::hscrollbar_allocate (Gtk::Allocation &alloc)
+Editor::hscrollbar_allocate (Gtk::Allocation &)
 {
 }
 
 bool
-Editor::hscrollbar_button_press (GdkEventButton *ev)
+Editor::hscrollbar_button_press (GdkEventButton *)
 {
        _dragging_hscrollbar = true;
        return false;
 }
 
 bool
-Editor::hscrollbar_button_release (GdkEventButton *ev)
+Editor::hscrollbar_button_release (GdkEventButton *)
 {
        _dragging_hscrollbar = false;
 
index 1826ee464dc30cacd82f0f0b36964b71f13b0d1a..f5ca92deb3a5fc1c4b78d8a7282471c941eddd01 100644 (file)
@@ -99,7 +99,7 @@ Editor::keyboard_insert_region_list_selection ()
 }
 
 int
-Editor::get_prefix (float& val, bool& was_floating)
+Editor::get_prefix (float& /*val*/, bool& was_floating)
 {
        was_floating = false;
        return 1;
index 736143668abab8cc91244663b026280b4fcd1d91..019dd1757a26040dc09c74760935af752d89b5bc 100644 (file)
@@ -421,7 +421,7 @@ Editor::mouse_add_new_marker (nframes64_t where, bool is_cd, bool is_xrun)
 }
 
 void
-Editor::remove_marker (ArdourCanvas::Item& item, GdkEvent* event)
+Editor::remove_marker (ArdourCanvas::Item& item, GdkEvent*)
 {
        Marker* marker;
        bool is_start;
@@ -552,7 +552,7 @@ Editor::marker_context_menu (GdkEventButton* ev, ArdourCanvas::Item* item)
 }
 
 void
-Editor::new_transport_marker_context_menu (GdkEventButton* ev, ArdourCanvas::Item* item)
+Editor::new_transport_marker_context_menu (GdkEventButton* ev, ArdourCanvas::Item*)
 {
        if (new_transport_marker_menu == 0) {
                build_new_transport_marker_menu ();
@@ -563,7 +563,7 @@ Editor::new_transport_marker_context_menu (GdkEventButton* ev, ArdourCanvas::Ite
 }
 
 void
-Editor::transport_marker_context_menu (GdkEventButton* ev, ArdourCanvas::Item* item)
+Editor::transport_marker_context_menu (GdkEventButton* ev, ArdourCanvas::Item*)
 {
        if (transport_marker_menu == 0) {
                build_range_marker_menu (true);
index e132d794edfa830e7b81f687e0bd54235d8be444..16e19bcfd6a9ee6065d9e9964aa898b7df154c24 100644 (file)
@@ -508,7 +508,7 @@ Editor::set_midi_edit_mode (MidiEditMode m, bool force)
 }
 
 void
-Editor::set_midi_edit_cursor (MidiEditMode m)
+Editor::set_midi_edit_cursor (MidiEditMode)
 {
        switch (midi_edit_mode) {
        case MidiEditPencil:
@@ -530,7 +530,7 @@ Editor::set_midi_edit_cursor (MidiEditMode m)
 }
 
 void
-Editor::button_selection (ArdourCanvas::Item* item, GdkEvent* event, ItemType item_type)
+Editor::button_selection (ArdourCanvas::Item* /*item*/, GdkEvent* event, ItemType item_type)
 {
        /* in object/audition/timefx/gain-automation mode,
           any button press sets the selection if the object
@@ -1450,7 +1450,7 @@ Editor::button_release_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemT
 }
 
 bool
-Editor::enter_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemType item_type)
+Editor::enter_handler (ArdourCanvas::Item* item, GdkEvent* /*event*/, ItemType item_type)
 {
        ControlPoint* cp;
        Marker * marker;
@@ -1646,7 +1646,7 @@ Editor::enter_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemType item_
 }
 
 bool
-Editor::leave_handler (ArdourCanvas::Item* item, GdkEvent* event, ItemType item_type)
+Editor::leave_handler (ArdourCanvas::Item* item, GdkEvent* /*event*/, ItemType item_type)
 {
        AutomationLine* al;
        ControlPoint* cp;
@@ -1856,7 +1856,7 @@ Editor::scrub ()
 }
 
 bool
-Editor::motion_handler (ArdourCanvas::Item* item, GdkEvent* event, bool from_autoscroll)
+Editor::motion_handler (ArdourCanvas::Item* /*item*/, GdkEvent* event, bool from_autoscroll)
 {
        if (event->motion.is_hint) {
                gint x, y;
@@ -1898,7 +1898,7 @@ Editor::motion_handler (ArdourCanvas::Item* item, GdkEvent* event, bool from_aut
 }
 
 void
-Editor::remove_gain_control_point (ArdourCanvas::Item*item, GdkEvent* event)
+Editor::remove_gain_control_point (ArdourCanvas::Item*item, GdkEvent* /*event*/)
 {
        ControlPoint* control_point;
 
@@ -1917,7 +1917,7 @@ Editor::remove_gain_control_point (ArdourCanvas::Item*item, GdkEvent* event)
 }
 
 void
-Editor::remove_control_point (ArdourCanvas::Item* item, GdkEvent* event)
+Editor::remove_control_point (ArdourCanvas::Item* item, GdkEvent* /*event*/)
 {
        ControlPoint* control_point;
 
@@ -2433,7 +2433,7 @@ Editor::thaw_region_after_trim (RegionView& rv)
 }
 
 void
-Editor::hide_marker (ArdourCanvas::Item* item, GdkEvent* event)
+Editor::hide_marker (ArdourCanvas::Item* item, GdkEvent* /*event*/)
 {
        Marker* marker;
        bool is_start;
@@ -2463,7 +2463,7 @@ Editor::reposition_zoom_rect (nframes64_t start, nframes64_t end)
 
 
 gint
-Editor::mouse_rename_region (ArdourCanvas::Item* item, GdkEvent* event)
+Editor::mouse_rename_region (ArdourCanvas::Item* /*item*/, GdkEvent* /*event*/)
 {
        using namespace Gtkmm2ext;
 
@@ -2601,7 +2601,7 @@ Editor::start_region_brush_grab (ArdourCanvas::Item* item, GdkEvent* event, Regi
  *  the section of the clicked region that lies within the time range.
  */
 void
-Editor::start_selection_grab (ArdourCanvas::Item* item, GdkEvent* event)
+Editor::start_selection_grab (ArdourCanvas::Item* /*item*/, GdkEvent* event)
 {
        if (clicked_regionview == 0) {
                return;
index 0570a436481891c2deb17a11939a44aa31a94c95..1ab7d746458723b502f59e7cb2b6a52ada66eb33 100644 (file)
@@ -198,7 +198,7 @@ Editor::split_regions_at (nframes64_t where, RegionSelection& regions)
 }
 
 boost::shared_ptr<Region>
-Editor::select_region_for_operation (int dir, TimeAxisView **tv)
+Editor::select_region_for_operation (int /*dir*/, TimeAxisView **tv)
 {
        RegionView* rv;
        boost::shared_ptr<Region> region;
@@ -1800,7 +1800,7 @@ Editor::temporal_zoom_session ()
 }
 
 void
-Editor::temporal_zoom_by_frame (nframes64_t start, nframes64_t end, const string & op)
+Editor::temporal_zoom_by_frame (nframes64_t start, nframes64_t end, const string & /*op*/)
 {
        if (!session) return;
 
@@ -3684,7 +3684,7 @@ Editor::freeze_thread ()
 }
 
 gint
-Editor::freeze_progress_timeout (void *arg)
+Editor::freeze_progress_timeout (void */*arg*/)
 {
        interthread_progress_bar.set_fraction (current_interthread_info->progress);
        return !(current_interthread_info->done || current_interthread_info->cancel);
index dadeca4b1d1ae75b6b860b57617eab9e3f7d78c2..2ec9e4356e11c1d228eaa85f030f22b11b250eb6 100644 (file)
@@ -904,7 +904,7 @@ EditorRegions::show_context_menu (int button, int time)
 }
 
 bool
-EditorRegions::key_press (GdkEventKey* ev)
+EditorRegions::key_press (GdkEventKey* /*ev*/)
 {
        return false;
 }
@@ -1145,7 +1145,7 @@ EditorRegions::drag_data_received (const RefPtr<Gdk::DragContext>& context,
 }
 
 bool
-EditorRegions::selection_filter (const RefPtr<TreeModel>& model, const TreeModel::Path& path, bool yn)
+EditorRegions::selection_filter (const RefPtr<TreeModel>& model, const TreeModel::Path& path, bool /*yn*/)
 {
        /* not possible to select rows that do not represent regions, like "Hidden" */
        
index 690ad42eaef44a6284c81325192aa305c64674a6..878a12890fd84bfd5c2caaf978023c8f5eef50f9 100644 (file)
@@ -502,7 +502,7 @@ EditorRouteGroups::button_press_event (GdkEventButton* ev)
  }
 
 void 
-EditorRouteGroups::row_change (const Gtk::TreeModel::Path& path,const Gtk::TreeModel::iterator& iter)
+EditorRouteGroups::row_change (const Gtk::TreeModel::Path&const Gtk::TreeModel::iterator& iter)
 {
        RouteGroup* group;
 
index 46fd4548b39ac52677eb03d4c36a89c5612b5737..dc869c4ad9dc79d3699ce65d9f43824441b3ecaa 100644 (file)
@@ -229,7 +229,7 @@ EditorRoutes::redisplay ()
 }
 
 void
-EditorRoutes::route_deleted (Gtk::TreeModel::Path const & path)
+EditorRoutes::route_deleted (Gtk::TreeModel::Path const &)
 {
        /* this could require an order reset & sync */
        _session->set_remote_control_ids();
@@ -240,7 +240,7 @@ EditorRoutes::route_deleted (Gtk::TreeModel::Path const & path)
 
 
 void
-EditorRoutes::changed (Gtk::TreeModel::Path const & path, Gtk::TreeModel::iterator const & iter)
+EditorRoutes::changed (Gtk::TreeModel::Path const &, Gtk::TreeModel::iterator const &)
 {
        /* never reset order keys because of a property change */
        _redisplay_does_not_reset_order_keys = true;
@@ -401,7 +401,7 @@ EditorRoutes::show_track_in_display (TimeAxisView& tv)
 }
 
 void
-EditorRoutes::reordered (TreeModel::Path const & path, TreeModel::iterator const & iter, int* what)
+EditorRoutes::reordered (TreeModel::Path const &, TreeModel::iterator const &, int* /*what*/)
 {
        redisplay ();
 }
@@ -449,7 +449,7 @@ EditorRoutes::sync_order_keys (string const & src)
 
 
 void
-EditorRoutes::hide_all_tracks (bool with_select)
+EditorRoutes::hide_all_tracks (bool /*with_select*/)
 {
        TreeModel::Children rows = _model->children();
        TreeModel::Children::iterator i;
@@ -674,7 +674,7 @@ EditorRoutes::initial_display ()
 }
 
 void
-EditorRoutes::track_list_reorder (Gtk::TreeModel::Path const & path, Gtk::TreeModel::iterator const & iter, int* new_order)
+EditorRoutes::track_list_reorder (Gtk::TreeModel::Path const &, Gtk::TreeModel::iterator const &, int* /*new_order*/)
 {
        _redisplay_does_not_sync_order_keys = true;
        _session->set_remote_control_ids();
index c25fa67a16cb7b2ce13965197676350bb0fdd142..c37d7d68d1cfffe804f2de14dd20c05c3177f1c6 100644 (file)
@@ -977,7 +977,7 @@ Editor::set_smpte_ruler_scale (gdouble lower, gdouble upper)
 }
 
 gint
-Editor::metric_get_smpte (GtkCustomRulerMark **marks, gdouble lower, gdouble upper, gint maxchars)
+Editor::metric_get_smpte (GtkCustomRulerMark **marks, gdouble lower, gdouble /*upper*/, gint /*maxchars*/)
 {
        nframes_t pos;
        nframes64_t spacer;
@@ -1220,7 +1220,7 @@ Editor::compute_bbt_ruler_scale (nframes64_t lower, nframes64_t upper)
 }
 
 gint
-Editor::metric_get_bbt (GtkCustomRulerMark **marks, gdouble lower, gdouble upper, gint maxchars)
+Editor::metric_get_bbt (GtkCustomRulerMark **marks, gdouble lower, gdouble /*upper*/, gint /*maxchars*/)
 {
         if (session == 0) {
                 return 0;
@@ -1692,7 +1692,7 @@ Editor::metric_get_bbt (GtkCustomRulerMark **marks, gdouble lower, gdouble upper
 }
 
 gint
-Editor::metric_get_frames (GtkCustomRulerMark **marks, gdouble lower, gdouble upper, gint maxchars)
+Editor::metric_get_frames (GtkCustomRulerMark **marks, gdouble lower, gdouble upper, gint /*maxchars*/)
 {
        nframes64_t mark_interval;
        nframes64_t pos;
@@ -1856,7 +1856,7 @@ Editor::set_minsec_ruler_scale (gdouble lower, gdouble upper)
 }
 
 gint
-Editor::metric_get_minsec (GtkCustomRulerMark **marks, gdouble lower, gdouble upper, gint maxchars)
+Editor::metric_get_minsec (GtkCustomRulerMark **marks, gdouble lower, gdouble /*upper*/, gint /*maxchars*/)
 {
        nframes64_t pos;
        nframes64_t spacer;
index 3b53a2d8217dfb873b0207716d8a85f9c3523d77..2da8172fc9ee848030ab20f1871ff2457b219b7e 100644 (file)
@@ -233,7 +233,7 @@ Editor::set_selected_track_from_click (bool press, Selection::Operation op, bool
 }
 
 bool
-Editor::set_selected_control_point_from_click (Selection::Operation op, bool no_remove)
+Editor::set_selected_control_point_from_click (Selection::Operation op, bool /*no_remove*/)
 {
        if (!clicked_control_point) {
                return false;
@@ -331,7 +331,7 @@ Editor::mapover_tracks (slot<void, RouteTimeAxisView&, uint32_t> sl, TimeAxisVie
 }
 
 void
-Editor::mapped_get_equivalent_regions (RouteTimeAxisView& tv, uint32_t ignored, RegionView * basis, vector<RegionView*>* all_equivs) const
+Editor::mapped_get_equivalent_regions (RouteTimeAxisView& tv, uint32_t, RegionView * basis, vector<RegionView*>* all_equivs) const
 {
        boost::shared_ptr<Playlist> pl;
        vector<boost::shared_ptr<Region> > results;
@@ -433,7 +433,7 @@ Editor::get_regionview_count_from_region_list (boost::shared_ptr<Region> region)
 
 
 bool
-Editor::set_selected_regionview_from_click (bool press, Selection::Operation op, bool no_track_remove)
+Editor::set_selected_regionview_from_click (bool press, Selection::Operation op, bool /*no_track_remove*/)
 {
        vector<RegionView*> all_equivalent_regions;
        bool commit = false;
@@ -771,7 +771,7 @@ Editor::set_selected_regionview_from_region_list (boost::shared_ptr<Region> regi
 }
 
 bool
-Editor::set_selected_regionview_from_map_event (GdkEventAny* ev, StreamView* sv, boost::weak_ptr<Region> weak_r)
+Editor::set_selected_regionview_from_map_event (GdkEventAny* /*ev*/, StreamView* sv, boost::weak_ptr<Region> weak_r)
 {
        RegionView* rv;
        boost::shared_ptr<Region> r (weak_r.lock());
@@ -1282,7 +1282,7 @@ Editor::select_all_selectables_using_edit (bool after)
 }
 
 void
-Editor::select_all_selectables_between (bool within)
+Editor::select_all_selectables_between (bool /*within*/)
 {
         nframes64_t start;
        nframes64_t end;
index be57c3389c0d1a9bbb960ce86f134cb59f081f05..9c0a39c5547a27cc8de3fdf984434768542a58bc 100644 (file)
@@ -930,7 +930,7 @@ EngineControl::audio_mode_changed ()
        }
 }
 
-static bool jack_server_filter(const string& str, void *arg)
+static bool jack_server_filter(const string& str, void */*arg*/)
 {
    return str == "jackd" || str == "jackdmp";
 }
index b7688aec105707d4b1478bac89f27eda937742b9..93fd1d56b3e2b69e7ace4a1a9db019a2e2b30dc0 100644 (file)
@@ -850,7 +850,7 @@ ExportFormatDialog::show_linear_enconding_options (boost::shared_ptr<ARDOUR::Exp
 }
 
 void
-ExportFormatDialog::show_ogg_enconding_options (boost::shared_ptr<ARDOUR::ExportFormatOggVorbis> ptr)
+ExportFormatDialog::show_ogg_enconding_options (boost::shared_ptr<ARDOUR::ExportFormatOggVorbis> /*ptr*/)
 {
        encoding_options_label.set_label (_("Ogg Vorbis options"));
        
index aac3143aeecaac775107e07815a05f33bd256581..99f752c236680c4600805e779d7b6b58c32deb46 100644 (file)
@@ -140,7 +140,7 @@ FFTGraph::~FFTGraph()
 }
 
 bool
-FFTGraph::on_expose_event (GdkEventExpose* event)
+FFTGraph::on_expose_event (GdkEventExpose* /*event*/)
 {
        redraw();
        return true;
index e6f0c7404221f5bdf6fd37372dd29056d453e8ce..8f3a831634786a52fe4d527631f4297b53ea6c8f 100644 (file)
@@ -521,7 +521,7 @@ GainMeterBase::meter_press(GdkEventButton* ev)
 }
 
 gint
-GainMeterBase::meter_release(GdkEventButton* ev)
+GainMeterBase::meter_release(GdkEventButton*)
 {
        if(!ignore_toggle){
                if (wait_for_release){
@@ -563,14 +563,14 @@ GainMeterBase::meter_point_clicked ()
 }
 
 gint
-GainMeterBase::start_gain_touch (GdkEventButton* ev)
+GainMeterBase::start_gain_touch (GdkEventButton*)
 {
        _amp->gain_control()->start_touch ();
        return FALSE;
 }
 
 gint
-GainMeterBase::end_gain_touch (GdkEventButton* ev)
+GainMeterBase::end_gain_touch (GdkEventButton*)
 {
        _amp->gain_control()->stop_touch ();
        return FALSE;
index 77a3967f1e9352dce50e02c7bc46509aee387e66..5666f25810f125be1fed66e2396f345492a6bc4f 100644 (file)
@@ -369,7 +369,7 @@ GenericPluginUI::automation_state_changed (ControlUI* cui)
 }
 
 
-static void integer_printer (char buf[32], Adjustment &adj, void *arg)
+static void integer_printer (char buf[32], Adjustment &adj, void */*arg*/)
 {
        snprintf (buf, 32, "%.0f", adj.get_value());
 }
@@ -613,7 +613,7 @@ GenericPluginUI::stop_touch (GenericPluginUI::ControlUI* cui)
 }
 
 void
-GenericPluginUI::astate_clicked (ControlUI* cui, uint32_t port)
+GenericPluginUI::astate_clicked (ControlUI* cui, uint32_t /*port*/)
 {
        using namespace Menu_Helpers;
 
@@ -739,7 +739,7 @@ GenericPluginUI::processor_active_changed (boost::weak_ptr<Processor> weak_proce
 }
 
 bool
-GenericPluginUI::start_updating (GdkEventAny* ignored)
+GenericPluginUI::start_updating (GdkEventAny*)
 {
        if (output_controls.size() > 0 ) {
                screen_update_connection.disconnect();
@@ -750,7 +750,7 @@ GenericPluginUI::start_updating (GdkEventAny* ignored)
 }
 
 bool
-GenericPluginUI::stop_updating (GdkEventAny* ignored)
+GenericPluginUI::stop_updating (GdkEventAny*)
 {
        if (output_controls.size() > 0 ) {
                screen_update_connection.disconnect();
index cfd9d3ea438e1f7e4ad880cc634410638ecd74e1..9d3d81eb0000c20434481f6ae335f1a01fa88f5f 100644 (file)
@@ -215,7 +215,7 @@ MidiGhostRegion::Hit::x_changed()
 }
 
 void
-MidiGhostRegion::set_samples_per_unit (double spu)
+MidiGhostRegion::set_samples_per_unit (double /*spu*/)
 {
 }
 
@@ -310,7 +310,7 @@ MidiGhostRegion::add_note(ArdourCanvas::CanvasNote* n)
 }
 
 void
-MidiGhostRegion::add_hit(ArdourCanvas::CanvasHit* h)
+MidiGhostRegion::add_hit(ArdourCanvas::CanvasHit* /*h*/)
 {
        //events.push_back(new Hit(h, group));
 }
index c795e46201287e87492b4c3ecd69d34a9b4efd83..4c937f861895632adb1f6843c96351d7255926bb 100644 (file)
@@ -62,6 +62,11 @@ static void gtk_custom_ruler_get_property  (GObject        *object,
 static gint
 default_metric_get_marks (GtkCustomRulerMark **marks, gdouble lower, gdouble upper, gint maxchars)
 {
+       (void) marks;
+       (void) lower;
+       (void) upper;
+       (void) maxchars;
+       
        return 0;
 }
 
@@ -193,6 +198,8 @@ gtk_custom_ruler_set_property (GObject      *object,
                               const GValue *value,
                               GParamSpec   *pspec)
 {
+       (void) pspec;
+       
   GtkCustomRuler *ruler = GTK_CUSTOM_RULER (object);
 
   switch (prop_id)
index 31ba681790935f4fed41e9d7bded4bebf52d9621..31cbc06817f66e5aed8a3147ad7157e2c9e3a578 100644 (file)
@@ -151,7 +151,7 @@ IOSelector::list_is_global (int dim) const
        return (dim == _other);
 }
 
-IOSelectorWindow::IOSelectorWindow (ARDOUR::Session& session, boost::shared_ptr<ARDOUR::IO> io, bool can_cancel)
+IOSelectorWindow::IOSelectorWindow (ARDOUR::Session& session, boost::shared_ptr<ARDOUR::IO> io, bool /*can_cancel*/)
        : _selector (session, io)
 {
        set_name ("IOSelectorWindow2");
index 2e29c9c1c541b83716e6bc9a5b62fb6d4e0e2fe7..f3542054aafad01d36673719dc2a8439e1259988 100644 (file)
@@ -295,14 +295,14 @@ Keyboard::key_is_down (uint32_t keyval)
 }
 
 bool
-Keyboard::enter_window (GdkEventCrossing *ev, Gtk::Window* win)
+Keyboard::enter_window (GdkEventCrossing *, Gtk::Window* win)
 {
        current_window = win;
        return false;
 }
 
 bool
-Keyboard::leave_window (GdkEventCrossing *ev, Gtk::Window* win)
+Keyboard::leave_window (GdkEventCrossing *ev, Gtk::Window* /*win*/)
 {
        if (ev) {
                switch (ev->detail) {
@@ -447,11 +447,11 @@ Keyboard::selection_type (guint state)
 
 
 static void 
-accel_map_changed (GtkAccelMap* map,
-                  gchar* path,
-                  guint  key,
-                  GdkModifierType mod,
-                  gpointer arg)
+accel_map_changed (GtkAccelMap* /*map*/,
+                  gchar* /*path*/,
+                  guint /*key*/,
+                  GdkModifierType /*mod*/,
+                  gpointer /*arg*/)
 {
        Keyboard::keybindings_changed ();
 }
index f6d41c3312e7fa7e5c5c30d4b51f4b615a755f6f..e0a8f8fb51e1f93310f246fd1e5516fc8cb2a672 100644 (file)
@@ -135,7 +135,7 @@ LevelMeter::parameter_changed (string p)
 }
 
 void
-LevelMeter::configuration_changed(ChanCount in, ChanCount out)
+LevelMeter::configuration_changed (ChanCount /*in*/, ChanCount /*out*/)
 {
        color_changed = true;
        setup_meters (meter_length, regular_meter_width);
@@ -216,7 +216,7 @@ LevelMeter::setup_meters (int len, int initial_width)
 }
 
 gint
-LevelMeter::meter_button_release (GdkEventButton* ev, uint32_t which)
+LevelMeter::meter_button_release (GdkEventButton* ev, uint32_t /*which*/)
 {
        if (ev->button == 1) {
                clear_meters();
index 352d9331eb427e71c62a6a8bc1c48cb1a82292fe..772824a533b8e6e32427cc3ba06b9f126e133e55 100644 (file)
@@ -66,7 +66,7 @@ LineSetClass::init()
 }
 
 void
-LineSetClass::class_init_function(void* g_class, void* class_data)
+LineSetClass::class_init_function(void* /*g_class*/, void* /*class_data*/)
 {
 }
 
@@ -503,7 +503,7 @@ LineSet::update_bounds()
  * N. find out if the item moved. if it moved, the old bbox and the new bbox need to be updated.
  */
 void
-LineSet::update_vfunc(double* affine, ArtSVP* clip_path, int flags)
+LineSet::update_vfunc(double* /*affine*/, ArtSVP* /*clip_path*/, int /*flags*/)
 {
        GnomeCanvasItem* item = GNOME_CANVAS_ITEM(gobj());
        bool lines_need_redraw = true;
@@ -539,7 +539,7 @@ LineSet::update_vfunc(double* affine, ArtSVP* clip_path, int flags)
 }
 
 void
-LineSet::draw_vfunc(const Glib::RefPtr<Gdk::Drawable>& drawable, int x, int y, int width, int height)
+LineSet::draw_vfunc(const Glib::RefPtr<Gdk::Drawable>& /*drawable*/, int /*x*/, int /*y*/, int /*width*/, int /*height*/)
 {
        cerr << "please don't use the GnomeCanvasLineSet item in a non-aa Canvas" << endl;
        abort();
@@ -704,7 +704,7 @@ LineSet::bounds_vfunc(double* _x1, double* _y1, double* _x2, double* _y2)
 
 
 double
-LineSet::point_vfunc(double x, double y, int cx, int cy, GnomeCanvasItem** actual_item)
+LineSet::point_vfunc(double x, double y, int /*cx*/, int /*cy*/, GnomeCanvasItem** actual_item)
 {
        double x1, y1, x2, y2;
        double dx, dy;
@@ -774,7 +774,7 @@ LineSet::region_needs_update(double coord1, double coord2)
  * These have been defined to avoid endless recursion with gnomecanvasmm.
  * Don't know why this happens
  */
-bool LineSet::on_event(GdkEvent* p1)
+bool LineSet::on_event(GdkEvent* /*p1*/)
 { 
        return false;
 }
index 31c9da1552a93a63e1cd0abd6e2c24ac1f0f8731..7aeb8b33017695e1dddb4e4472e6e4e341d67bac 100644 (file)
@@ -421,7 +421,7 @@ LocationEditRow::clock_changed (LocationPart part)
 }
 
 void
-LocationEditRow::change_aborted (LocationPart part)
+LocationEditRow::change_aborted (LocationPart /*part*/)
 {
        if (i_am_the_modifier || !location) return;
        
@@ -945,7 +945,7 @@ LocationUI::session_gone()
 }
 
 bool
-LocationUI::on_delete_event (GdkEventAny* ev)
+LocationUI::on_delete_event (GdkEventAny*)
 {
        hide ();
        return true;
index 812f2640a71f1500d0fc06f183aa4133ba8e2454..9605b03ba41a68dec22026cfbb48d18a55b32c6c 100644 (file)
@@ -32,8 +32,8 @@ void
 LV2PluginUI::lv2_ui_write(
                LV2UI_Controller controller,
                uint32_t         port_index,
-               uint32_t         buffer_size,
-               uint32_t         format,
+               uint32_t         /*buffer_size*/,
+               uint32_t         /*format*/,
                const void*      buffer)
 {
        LV2PluginUI* me = (LV2PluginUI*)controller;
@@ -60,7 +60,7 @@ LV2PluginUI::parameter_update (uint32_t port_index, float val)
 }
 
 bool
-LV2PluginUI::start_updating(GdkEventAny* event)
+LV2PluginUI::start_updating(GdkEventAny*)
 {
        if (!_output_ports.empty()) {
                _screen_update_connection.disconnect();
@@ -71,7 +71,7 @@ LV2PluginUI::start_updating(GdkEventAny* event)
 }
 
 bool
-LV2PluginUI::stop_updating(GdkEventAny* event)
+LV2PluginUI::stop_updating(GdkEventAny*)
 {
        if (!_output_ports.empty()) {
                _screen_update_connection.disconnect();
@@ -157,14 +157,14 @@ LV2PluginUI::package (Gtk::Window& win)
 }
 
 bool
-LV2PluginUI::configure_handler (GdkEventConfigure* ev)
+LV2PluginUI::configure_handler (GdkEventConfigure*)
 {
        std::cout << "CONFIGURE" << std::endl;
        return false;
 }
 
 bool
-LV2PluginUI::is_update_wanted(uint32_t index)
+LV2PluginUI::is_update_wanted(uint32_t /*index*/)
 {
        /* FIXME this should check the port notification properties, which nobody sets now anyway :) */
        return true;
index 7c57b7535b1c548696ae5c423705585ee16c17a2..70f3a154988480fb4f0f52dad10c3014623e38ae 100644 (file)
@@ -283,7 +283,7 @@ fixup_bundle_environment ()
 #endif
 
 static void
-sigpipe_handler (int sig)
+sigpipe_handler (int /*sig*/)
 {
        cerr << _("SIGPIPE received - JACK has probably died") << endl;
 }
index 030a0608ef425870eb3a6e74b3b69c1b429f779e..4119b7ce05c3c49c0824eacf77eda6531382de74 100644 (file)
@@ -209,7 +209,7 @@ MidiMultipleChannelSelector::set_selected_channels(uint16_t selected_channels)
 }
 
 void
-MidiMultipleChannelSelector::button_toggled(ToggleButton *button, uint8_t channel)
+MidiMultipleChannelSelector::button_toggled(ToggleButton */*button*/, uint8_t channel)
 {
        ++_recursion_counter;
        if (_recursion_counter == 1) {
index 30718ad158f586bb18b01283c8f209cb95512288..6f2e81f0ffabed5593047fc3e3dff2d97f9be1d2 100644 (file)
@@ -130,7 +130,7 @@ veto_note_range(uint8_t& min, uint8_t& max)
 }
 
 RegionView*
-MidiStreamView::create_region_view (boost::shared_ptr<Region> r, bool wfd, bool)
+MidiStreamView::create_region_view (boost::shared_ptr<Region> r, bool /*wfd*/, bool)
 {
        boost::shared_ptr<MidiRegion> region = boost::dynamic_pointer_cast<MidiRegion> (r);
 
index 7d6257bbd0006d85e2b84496a84bd06836b4abf5..8ab7454ab8846e519714b2095955d14864bae692 100644 (file)
@@ -939,14 +939,14 @@ MixerStrip::diskstream_changed ()
 }      
 
 void
-MixerStrip::input_changed (IOChange change, void *src)
+MixerStrip::input_changed (IOChange /*change*/, void */*src*/)
 {
        Gtkmm2ext::UI::instance()->call_slot (mem_fun(*this, &MixerStrip::update_input_display));
        set_width_enum (_width, this);
 }
 
 void
-MixerStrip::output_changed (IOChange change, void *src)
+MixerStrip::output_changed (IOChange /*change*/, void */*src*/)
 {
        Gtkmm2ext::UI::instance()->call_slot (mem_fun(*this, &MixerStrip::update_output_display));
        set_width_enum (_width, this);
@@ -1586,7 +1586,7 @@ MixerStrip::on_key_release_event (GdkEventKey* ev)
 }
 
 bool
-MixerStrip::on_enter_notify_event (GdkEventCrossing* ev)
+MixerStrip::on_enter_notify_event (GdkEventCrossing*)
 {
        Keyboard::magic_widget_grab_focus ();
        grab_focus ();
index 00c16f59b6b1b0de50c4be37ad44178aca437550..0e354945ac077ea50db7c47e3604a8221a120f5c 100644 (file)
@@ -671,7 +671,7 @@ Mixer_UI::hide_all_audiotracks ()
 }
 
 void
-Mixer_UI::track_list_reorder (const TreeModel::Path& path, const TreeModel::iterator& iter, int* new_order)
+Mixer_UI::track_list_reorder (const TreeModel::Path&, const TreeModel::iterator&, int* /*new_order*/)
 {
        strip_redisplay_does_not_sync_order_keys = true;
        session->set_remote_control_ids();
@@ -680,7 +680,7 @@ Mixer_UI::track_list_reorder (const TreeModel::Path& path, const TreeModel::iter
 }
 
 void
-Mixer_UI::track_list_change (const Gtk::TreeModel::Path& path,const Gtk::TreeModel::iterator& iter)
+Mixer_UI::track_list_change (const Gtk::TreeModel::Path&, const Gtk::TreeModel::iterator&)
 {
        // never reset order keys because of a property change
        strip_redisplay_does_not_reset_order_keys = true; 
@@ -690,7 +690,7 @@ Mixer_UI::track_list_change (const Gtk::TreeModel::Path& path,const Gtk::TreeMod
 }
 
 void
-Mixer_UI::track_list_delete (const Gtk::TreeModel::Path& path)
+Mixer_UI::track_list_delete (const Gtk::TreeModel::Path&)
 {
        /* this could require an order sync */
        session->set_remote_control_ids();
@@ -1197,7 +1197,7 @@ Mixer_UI::route_group_name_edit (const Glib::ustring& path, const Glib::ustring&
 }
 
 void 
-Mixer_UI::route_group_row_change (const Gtk::TreeModel::Path& path,const Gtk::TreeModel::iterator& iter)
+Mixer_UI::route_group_row_change (const Gtk::TreeModel::Path&const Gtk::TreeModel::iterator& iter)
 {
        RouteGroup* group;
 
@@ -1403,7 +1403,7 @@ Mixer_UI::get_state (void)
 
 
 void 
-Mixer_UI::pane_allocation_handler (Allocation& alloc, Gtk::Paned* which)
+Mixer_UI::pane_allocation_handler (Allocation&, Gtk::Paned* which)
 {
        int pos;
        XMLProperty* prop = 0;
index f63e78b20f6cd016213fefb4ce0f6165bbe2b7a8..c8f6c35c17077f1b6e268cd78d61845634f6652e 100644 (file)
@@ -16,7 +16,7 @@ using namespace std;
 using namespace Glib;
 using namespace Gtk;
 
-NagScreen::NagScreen (std::string context, bool maybe_sub)
+NagScreen::NagScreen (std::string /*context*/, bool maybe_sub)
        : ArdourDialog (_("Support Ardour Development"), true)
        , donate_button (button_group, _("I'd like to make a one-time donation"))
        , subscribe_button (button_group, _("Tell me more about becoming a subscriber"))
index 7f1475fabc7b95a8f26c9d3e58d9e67bf650330b..e133c1e0b98ec76e0303d080e62f4119ff45dbd6 100644 (file)
@@ -229,13 +229,13 @@ PannerUI::get_controllable()
 }
 
 bool
-PannerUI::panning_link_button_press (GdkEventButton* ev)
+PannerUI::panning_link_button_press (GdkEventButton*)
 {
        return true;
 }
 
 bool
-PannerUI::panning_link_button_release (GdkEventButton* ev)
+PannerUI::panning_link_button_release (GdkEventButton*)
 {
        if (!ignore_toggle) {
                _panner->set_linked (!_panner->linked());
index e946aa3dfbdbe45466b5e43b7aac872e9dfa0c7a..9a7b86396fcd1e0fdb99d500f4d9124f9e6f3cb6 100644 (file)
@@ -91,7 +91,7 @@ create_path(Cairo::RefPtr<Cairo::Context> cr, double x[], double y[], int start,
 }
 
 inline void 
-render_rect(Cairo::RefPtr<Cairo::Context> cr, int note, double x[], double y[],
+render_rect(Cairo::RefPtr<Cairo::Context> cr, int /*note*/, double x[], double y[],
             PianoRollHeader::Color& bg, PianoRollHeader::Color& tl_shadow, PianoRollHeader::Color& br_shadow)
 {
        cr->set_source_rgb(bg.r, bg.g, bg.b);
@@ -108,7 +108,7 @@ render_rect(Cairo::RefPtr<Cairo::Context> cr, int note, double x[], double y[],
 }
 
 inline void
-render_cf(Cairo::RefPtr<Cairo::Context> cr, int note, double x[], double y[],
+render_cf(Cairo::RefPtr<Cairo::Context> cr, int /*note*/, double x[], double y[],
                PianoRollHeader::Color& bg, PianoRollHeader::Color& tl_shadow, PianoRollHeader::Color& br_shadow)
 {
        cr->set_source_rgb(bg.r, bg.g, bg.b);
@@ -125,7 +125,7 @@ render_cf(Cairo::RefPtr<Cairo::Context> cr, int note, double x[], double y[],
 }
 
 inline void
-render_eb(Cairo::RefPtr<Cairo::Context> cr, int note, double x[], double y[],
+render_eb(Cairo::RefPtr<Cairo::Context> cr, int /*note*/, double x[], double y[],
                PianoRollHeader::Color& bg, PianoRollHeader::Color& tl_shadow, PianoRollHeader::Color& br_shadow)
 {
        cr->set_source_rgb(bg.r, bg.g, bg.b);
@@ -146,7 +146,7 @@ render_eb(Cairo::RefPtr<Cairo::Context> cr, int note, double x[], double y[],
 }
 
 inline void
-render_dga(Cairo::RefPtr<Cairo::Context> cr, int note, double x[], double y[],
+render_dga(Cairo::RefPtr<Cairo::Context> cr, int /*note*/, double x[], double y[],
                 PianoRollHeader::Color& bg, PianoRollHeader::Color& tl_shadow, PianoRollHeader::Color& br_shadow)
 {
        cr->set_source_rgb(bg.r, bg.g, bg.b);
@@ -562,7 +562,7 @@ PianoRollHeader::on_leave_notify_event (GdkEventCrossing*)
 }
 
 bool
-PianoRollHeader::on_scroll_event (GdkEventScroll* ev)
+PianoRollHeader::on_scroll_event (GdkEventScroll*)
 {
        return true;
 }
index 6bf4da0123748248ef8e43db5b0d91f9d233faf1..dd5e024ddff93727b37e9ad9c87271b3c5c7c4ba 100644 (file)
@@ -398,7 +398,7 @@ PluginEqGui::run_impulse_analysis()
 }
 
 bool
-PluginEqGui::expose_analysis_area(GdkEventExpose *evt)
+PluginEqGui::expose_analysis_area(GdkEventExpose *)
 {
        redraw_analysis_area();
 
@@ -463,7 +463,7 @@ PluginEqGui::redraw_analysis_area()
 #define PHASE_PROPORTION 0.5
 
 void 
-PluginEqGui::draw_scales_phase(Gtk::Widget *w, cairo_t *cr)
+PluginEqGui::draw_scales_phase(Gtk::Widget */*w*/, cairo_t *cr)
 {
        float y;
        cairo_font_extents_t extents;
@@ -561,7 +561,7 @@ PluginEqGui::plot_impulse_phase(Gtk::Widget *w, cairo_t *cr)
 }
 
 void
-PluginEqGui::draw_scales_power(Gtk::Widget *w, cairo_t *cr)
+PluginEqGui::draw_scales_power(Gtk::Widget */*w*/, cairo_t *cr)
 {
        static float scales[] = { 30.0, 70.0, 125.0, 250.0, 500.0, 1000.0, 2000.0, 5000.0, 10000.0, 15000.0, 20000.0, -1.0 };
        
index d87fad611a23b5d7c5cd0b43b7809dab3323803b..7ebe778ecb689dc2a9a670bafc8c04499aa7d645 100644 (file)
@@ -336,7 +336,11 @@ PluginSelector::lv2_refiller (const std::string& filterstr)
 }
 
 void
+#ifdef VST_SUPPORT
 PluginSelector::vst_refiller (const std::string& filterstr)
+#else
+PluginSelector::vst_refiller (const std::string&)
+#endif
 {
 #ifdef VST_SUPPORT
        refiller (manager->vst_plugin_info(), filterstr, "VST");
@@ -344,7 +348,11 @@ PluginSelector::vst_refiller (const std::string& filterstr)
 }
 
 void
+#ifdef HAVE_AUDIOUNITS
 PluginSelector::au_refiller (const std::string& filterstr)
+#else
+PluginSelector::au_refiller (const std::string&)
+#endif 
 {
 #ifdef HAVE_AUDIOUNITS
        refiller (manager->au_plugin_info(), filterstr, "AU");
index 527c54876e2628abb4d77c737536ee2fc3f432be..1c5a56f531259f0b5a2395f7c19a6629a3afa6b6 100644 (file)
@@ -228,7 +228,11 @@ PluginUIWindow::on_hide ()
 }
 
 bool
+#ifdef VST_SUPPORT
 PluginUIWindow::create_vst_editor(boost::shared_ptr<PluginInsert> insert)
+#else
+PluginUIWindow::create_vst_editor(boost::shared_ptr<PluginInsert>)
+#endif 
 {
 #ifndef VST_SUPPORT
        return false;
@@ -254,7 +258,11 @@ PluginUIWindow::create_vst_editor(boost::shared_ptr<PluginInsert> insert)
 }
 
 bool
+#if defined (HAVE_AUDIOUNITS) && defined (GTKOSX)
 PluginUIWindow::create_audiounit_editor (boost::shared_ptr<PluginInsert> insert)
+#else
+PluginUIWindow::create_audiounit_editor (boost::shared_ptr<PluginInsert>)
+#endif 
 {
 #if !defined(HAVE_AUDIOUNITS) || !defined(GTKOSX)
        return false;
@@ -272,7 +280,11 @@ PluginUIWindow::create_audiounit_editor (boost::shared_ptr<PluginInsert> insert)
 }
 
 void
+#if defined (HAVE_AUDIOUNITS) && defined(GTKOSX)
 PluginUIWindow::app_activated (bool yn)
+#else
+PluginUIWindow::app_activated (bool)
+#endif 
 {
 #if defined (HAVE_AUDIOUNITS) && defined(GTKOSX)
        cerr << "APP activated ? " << yn << endl;
@@ -327,7 +339,7 @@ PluginUIWindow::on_key_press_event (GdkEventKey* event)
 }
 
 bool
-PluginUIWindow::on_key_release_event (GdkEventKey* event)
+PluginUIWindow::on_key_release_event (GdkEventKey *)
 {
        return true;
 }
@@ -499,7 +511,7 @@ PlugUIBase::bypass_toggled ()
 }
 
 bool
-PlugUIBase::focus_toggled (GdkEventButton* ev)
+PlugUIBase::focus_toggled (GdkEventButton*)
 {
        if (Keyboard::the_keyboard().some_magic_widget_has_focus()) {
                Keyboard::the_keyboard().magic_widget_drop_focus();
index 93059bb2bdec78d48f24f21814b5f3ac5750db57..ab30858eaf12f4481d2c39097f2890bf5d438695 100644 (file)
@@ -158,7 +158,7 @@ class GenericPluginUI : public PlugUIBase, public Gtk::VBox
                bool            max_unbound;
                bool packed;
                
-               MeterInfo(int i) { 
+               MeterInfo (int /*i*/) { 
                        meter = 0;
                        packed = false;
                        min = 1.0e10;
index 8633070d690fae9a87a89dd08a53b546ffc28a60..4979c952540017ae5776d8c2a305a04eadfc4f62 100644 (file)
@@ -110,7 +110,7 @@ PortMatrixColumnLabels::compute_dimensions ()
 }
 
 double
-PortMatrixColumnLabels::basic_text_x_pos (int c) const
+PortMatrixColumnLabels::basic_text_x_pos (int) const
 {
        return grid_spacing() / 2 +
                _highest_text / (2 * sin (angle ()));
@@ -441,7 +441,7 @@ PortMatrixColumnLabels::channel_x (ARDOUR::BundleChannel const &bc) const
 }
 
 double
-PortMatrixColumnLabels::channel_y (ARDOUR::BundleChannel const &bc) const
+PortMatrixColumnLabels::channel_y (ARDOUR::BundleChannel const &) const
 {
        return 0;
 }
index bb8dff5953f592a8440707a980dbf443b5ef3050..8e2f379addbca1d81c01bef70f2aeec2ba581af9 100644 (file)
@@ -406,7 +406,7 @@ PortMatrixGrid::set_association (PortMatrixNode node, bool s)
 }
 
 void
-PortMatrixGrid::button_release (double x, double y, int b, uint32_t t)
+PortMatrixGrid::button_release (double x, double y, int b, uint32_t /*t*/)
 {
        if (b == 1) {
 
index eb3b5f4ce7980dcec142e9f8c772f3370b730b22..fb6ab951ddb9088c1c0eff2f5ab60a9c24878e9f 100644 (file)
@@ -325,7 +325,7 @@ PortMatrixRowLabels::render_channel_name (
 }
 
 double
-PortMatrixRowLabels::channel_x (ARDOUR::BundleChannel const& bc) const
+PortMatrixRowLabels::channel_x (ARDOUR::BundleChannel const &) const
 {
        return 0;
 }
index 5f4762c18c02af087dbebb383ed0db8ea787e25a..0ad9a969efc040640f3f4923a5a3e44e3c5a7c43 100644 (file)
@@ -317,19 +317,19 @@ ProcessorBox::show_processor_menu (gint arg)
 }
 
 void
-ProcessorBox::processor_drag_begin (GdkDragContext *context)
+ProcessorBox::processor_drag_begin (GdkDragContext *)
 {
        processor_drag_in_progress = true;
 }
 
 void
-ProcessorBox::processor_drag_end (GdkDragContext *context)
+ProcessorBox::processor_drag_end (GdkDragContext *)
 {
        processor_drag_in_progress = false;
 }
 
 bool
-ProcessorBox::enter_notify (GdkEventCrossing* ev)
+ProcessorBox::enter_notify (GdkEventCrossing*)
 {
        _current_processor_box = this;
        Keyboard::magic_widget_grab_focus ();
@@ -352,7 +352,7 @@ ProcessorBox::leave_notify (GdkEventCrossing* ev)
 }
 
 bool
-ProcessorBox::processor_key_press_event (GdkEventKey *ev)
+ProcessorBox::processor_key_press_event (GdkEventKey *)
 {
        /* do real stuff on key release */
        return false;
@@ -928,7 +928,7 @@ ProcessorBox::show_processor_active (boost::weak_ptr<Processor> weak_processor)
 }
 
 void
-ProcessorBox::row_deleted (const Gtk::TreeModel::Path& path)
+ProcessorBox::row_deleted (const Gtk::TreeModel::Path &)
 {
        if (!ignore_delete) {
                compute_processor_sort_keys ();
index 6a3fe486ee378af6d5e1b5c67c9bc1ab68c52c93..9ed1a8f982ce96b0842f400750a71a5bb9dce3a7 100644 (file)
@@ -135,7 +135,7 @@ public:
        
 private:
 
-       void model_changed (TreeModel::Path const & p, TreeModel::iterator const & i)
+       void model_changed (TreeModel::Path const &, TreeModel::iterator const & i)
        {
                TreeModel::Row r = *i;
 
@@ -622,7 +622,7 @@ public:
                _box->pack_start (*t, false, false);
        }
 
-       void parameter_changed (string const & p)
+       void parameter_changed (string const &)
        {
                /* XXX: these aren't really config options... */
        }
@@ -872,7 +872,7 @@ public:
 
 private:
 
-       void model_changed (TreeModel::Path const & p, TreeModel::iterator const & i)
+       void model_changed (TreeModel::Path const &, TreeModel::iterator const & i)
        {
                TreeModel::Row r = *i;
 
index 85d59a93b1f41b294cebff2db41f789e3b10642c..e1f47219657aa92a1ce092f0165e4b1d3090a024 100644 (file)
@@ -192,7 +192,7 @@ RegionView::~RegionView ()
 }
 
 gint
-RegionView::_lock_toggle (ArdourCanvas::Item* item, GdkEvent* ev, void* arg)
+RegionView::_lock_toggle (ArdourCanvas::Item*, GdkEvent* ev, void* arg)
 {
        switch (ev->type) {
        case GDK_BUTTON_RELEASE:
@@ -301,7 +301,7 @@ RegionView::lower_to_bottom ()
 }
 
 bool
-RegionView::set_position (nframes_t pos, void* src, double* ignored)
+RegionView::set_position (nframes_t pos, void* /*src*/, double* ignored)
 {
        double delta;
        bool ret;
index 11be3086e53dab6f32512d84ae013976f01822e8..87d0d0743327618b477af33233d97a7a70a2648c 100644 (file)
@@ -304,7 +304,7 @@ RouteTimeAxisView::post_construct ()
 }
 
 void
-RouteTimeAxisView::set_playlist (boost::shared_ptr<Playlist> newplaylist)
+RouteTimeAxisView::set_playlist (boost::shared_ptr<Playlist> /*newplaylist*/)
 {
        boost::shared_ptr<Playlist> pl = playlist();
        assert(pl);
@@ -2272,7 +2272,7 @@ RouteTimeAxisView::meter_changed (void *src)
 }
 
 void
-RouteTimeAxisView::io_changed (IOChange change, void *src)
+RouteTimeAxisView::io_changed (IOChange /*change*/, void */*src*/)
 {
        reset_meter ();
 }
index 1ac651308a3244e0f5820120fc5324e0e67b0f00..f0f9827b7361dc421410cfcaaf89ca0b1da7716a 100644 (file)
@@ -297,7 +297,7 @@ RouteUI::mute_press(GdkEventButton* ev)
 }
 
 bool
-RouteUI::mute_release(GdkEventButton* ev)
+RouteUI::mute_release(GdkEventButton*)
 {
        if (!ignore_toggle) {
                if (wait_for_release){
@@ -437,7 +437,7 @@ RouteUI::solo_press(GdkEventButton* ev)
 }
 
 bool
-RouteUI::solo_release(GdkEventButton* ev)
+RouteUI::solo_release(GdkEventButton*)
 {
        if (!ignore_toggle) {
                if (wait_for_release) {
@@ -512,7 +512,7 @@ RouteUI::rec_enable_press(GdkEventButton* ev)
 }
 
 bool
-RouteUI::rec_enable_release (GdkEventButton* ev)
+RouteUI::rec_enable_release (GdkEventButton*)
 {
        return true;
 }
@@ -605,7 +605,7 @@ RouteUI::show_sends_press(GdkEventButton* ev)
 }
 
 bool
-RouteUI::show_sends_release (GdkEventButton* ev)
+RouteUI::show_sends_release (GdkEventButton*)
 {
        return true;
 }
@@ -625,14 +625,14 @@ RouteUI::send_blink (bool onoff)
 }
 
 void
-RouteUI::solo_changed(void* src)
+RouteUI::solo_changed(void* /*src*/)
 {
        Gtkmm2ext::UI::instance()->call_slot (mem_fun (*this, &RouteUI::update_solo_display));
 }
 
 
 void
-RouteUI::listen_changed(void* src)
+RouteUI::listen_changed(void* /*src*/)
 {
        Gtkmm2ext::UI::instance()->call_slot (mem_fun (*this, &RouteUI::update_solo_display));
 }
@@ -682,7 +682,7 @@ RouteUI::solo_changed_so_update_mute ()
 }
 
 void
-RouteUI::mute_changed(void* src)
+RouteUI::mute_changed(void* /*src*/)
 {
        Gtkmm2ext::UI::instance()->call_slot (mem_fun (*this, &RouteUI::update_mute_display));
 }
@@ -914,7 +914,7 @@ RouteUI::init_mute_menu(MuteMaster::MutePoint mp, CheckMenuItem* check)
 }
 
 void
-RouteUI::toggle_mute_menu(MuteMaster::MutePoint mp, Gtk::CheckMenuItem* check)
+RouteUI::toggle_mute_menu(MuteMaster::MutePoint /*mp*/, Gtk::CheckMenuItem* /*check*/)
 {
        // _route->set_mute_config(type, check->get_active(), this);
 }
@@ -1220,7 +1220,7 @@ RouteUI::denormal_protection_changed ()
 }
 
 void
-RouteUI::solo_isolated_toggle(void* src, Gtk::CheckMenuItem* check)
+RouteUI::solo_isolated_toggle(void* /*src*/, Gtk::CheckMenuItem* check)
 {
        bool yn = _route->solo_isolated ();
 
index 2eafcf220c555786034e37ee3172884f47515791..cbe5975e87babae9ef2052abee340c235c56053c 100644 (file)
@@ -492,7 +492,7 @@ Selection::remove (uint32_t selection_id)
 }
 
 void
-Selection::remove (nframes_t start, nframes_t end)
+Selection::remove (nframes_t /*start*/, nframes_t /*end*/)
 {
 }
 
index d79f977b3e4827c84127ec0592ef0b1e760907bb..89f50c5893936150c1f3d1d8559fccd1d37fac91 100644 (file)
@@ -242,7 +242,7 @@ SessionImportDialog::update (string path)
 }
 
 void
-SessionImportDialog::show_info(const Gtk::TreeModel::Path& path, Gtk::TreeViewColumn* column)
+SessionImportDialog::show_info(const Gtk::TreeModel::Path& path, Gtk::TreeViewColumn*)
 {
        if (path.size() == 1) {
                return;
index defd54061887e008c26c820ed08635f0d13f8e55..387d42cd10c34dc40c59dadb1c79b503a4894180 100644 (file)
@@ -127,7 +127,7 @@ class SessionMetadataSet {
        /// Sets session, into which the data is eventually saved
        virtual void set_session (ARDOUR::Session * s) { session = s; }
        /// allows loading extra data into data sets (for importing etc.)
-       virtual void load_extra_data (ARDOUR::SessionMetadata const & data) { }
+       virtual void load_extra_data (ARDOUR::SessionMetadata const & /*data*/) { }
        /// Saves data to session
        virtual void save_data () = 0;
        
index b23bccd37a648e168caccdd83c6d982537e31bb3..aaa16694b6c5720aae072fce21ce4a68d51a3643 100644 (file)
@@ -123,7 +123,7 @@ public:
                _box->pack_start (_port_matrix);
        }
 
-       void parameter_changed (string const & p)
+       void parameter_changed (string const &)
        {
 
        }
index e0caced97ac5245fcb0fb8b29a204f51ee1c377b..41758d493dd8e024d9a6fac160b0d159799ee48d 100644 (file)
@@ -365,7 +365,7 @@ SoundFileBox::stop_audition ()
 }
 
 bool
-SoundFileBox::tags_entry_left (GdkEventFocus *ev)
+SoundFileBox::tags_entry_left (GdkEventFocus *)
 {
        tags_changed ();
        return false;
@@ -566,13 +566,13 @@ SoundFileBrowser::chooser_file_activated ()
 }
 
 void
-SoundFileBrowser::found_list_view_activated (const TreeModel::Path& path, TreeViewColumn* col)
+SoundFileBrowser::found_list_view_activated (const TreeModel::Path&, TreeViewColumn*)
 {
        preview.audition ();
 }
 
 void
-SoundFileBrowser::freesound_list_view_activated (const TreeModel::Path& path, TreeViewColumn* col)
+SoundFileBrowser::freesound_list_view_activated (const TreeModel::Path&, TreeViewColumn*)
 {
        preview.audition ();
 }
index bf4d9bc27f50f1fdcfbfec55480c7c84bc7a5399..3fa96704e321407445ca772fea8c936429c62ca8 100644 (file)
@@ -75,7 +75,7 @@ Splash::on_realize ()
 
 
 bool
-Splash::on_button_release_event (GdkEventButton* ev)
+Splash::on_button_release_event (GdkEventButton*)
 {
        hide ();
        return true;
index 5dc6c2b75f03cf559dcbb816246c0999f9c9a8d0..370ce1b37714979e1134130ee9e0189188516943 100644 (file)
@@ -1127,7 +1127,7 @@ ArdourStartup::move_along_now ()
 }
 
 void
-ArdourStartup::recent_row_activated (const Gtk::TreePath& path, Gtk::TreeViewColumn* col)
+ArdourStartup::recent_row_activated (const Gtk::TreePath&, Gtk::TreeViewColumn*)
 {
        set_page_complete (session_vbox, true);
        move_along_now ();
index 07285d8a424b90c7c77728315c1012cdce003845..c696b63f7a267b7cbade3deb9fe77633fcf0ff64 100644 (file)
@@ -92,7 +92,7 @@ public:
        void get_selectables (nframes_t start, nframes_t end, std::list<Selectable* >&);
        void get_inverted_selectables (Selection&, std::list<Selectable* >& results);
 
-       virtual void update_contents_metrics(boost::shared_ptr<ARDOUR::Region> r) {}
+       virtual void update_contents_metrics(boost::shared_ptr<ARDOUR::Region>) {}
 
        void add_region_view_weak (boost::weak_ptr<ARDOUR::Region> r);
        void add_region_view (boost::shared_ptr<ARDOUR::Region>);
index a10541ffc6a1955bf8e441a28fee4f252d114b2b..c5267a9f243173bcf79816847ee87ed9b4cae8b6 100644 (file)
@@ -61,7 +61,7 @@ TapeAudioRegionView::TapeAudioRegionView (ArdourCanvas::Group *parent, RouteTime
 }
 
 void
-TapeAudioRegionView::init (Gdk::Color const & basic_color, bool wfw)
+TapeAudioRegionView::init (Gdk::Color const & basic_color, bool /*wfw*/)
 {
        /* never wait for data: always just create the waves, connect once and then
           we'll update whenever we need to.
index 6bb50469dd2ce494288d81a15e57cbef6a63c0b8..b23f06993001d2ca226907c1ff1dc706026e9caf 100644 (file)
@@ -181,13 +181,13 @@ TempoDialog::init (const BBT_Time& when, double bpm, double note_type, bool mova
 }
 
 bool
-TempoDialog::bpm_button_press (GdkEventButton* ev)
+TempoDialog::bpm_button_press (GdkEventButton*)
 {
        return false;
 }
 
 bool
-TempoDialog::bpm_button_release (GdkEventButton* ev)
+TempoDialog::bpm_button_release (GdkEventButton*)
 {      
        /* the value has been modified, accept should work now */
 
@@ -196,7 +196,7 @@ TempoDialog::bpm_button_release (GdkEventButton* ev)
 }
 
 bool
-TempoDialog::entry_key_release (GdkEventKey* ev)
+TempoDialog::entry_key_release (GdkEventKey*)
 {      
        if (when_beat_entry.get_text() != "" && when_bar_entry.get_text() != "") {
                set_response_sensitive (RESPONSE_ACCEPT, true);
@@ -425,7 +425,7 @@ MeterDialog::entry_key_press (GdkEventKey* ev)
 }
 
 bool
-MeterDialog::entry_key_release (GdkEventKey* ev)
+MeterDialog::entry_key_release (GdkEventKey*)
 {
         if (when_bar_entry.get_text() != "" && bpb_entry.get_text() != "") {
                set_response_sensitive (RESPONSE_ACCEPT, true);
index 70f249c1c6cf8e456e5e8d6e2d2b88b9fb62e5f5..6b574588b63655f31eea056b0f3b90331880a46c 100644 (file)
@@ -106,7 +106,7 @@ ThemeManager::~ThemeManager()
 }
 
 int
-ThemeManager::save (string path)
+ThemeManager::save (string /*path*/)
 {
        return 0;
 }
index 0ed3458d8092c9141e6a0e60a3417245689768e6..b0618fdb028f7ec91c126531a27d91779d1fe386 100644 (file)
@@ -74,7 +74,7 @@ uint32_t TimeAxisView::hSmall = 0;
 bool TimeAxisView::need_size_info = true;
 int const TimeAxisView::_max_order = 512;
 
-TimeAxisView::TimeAxisView (ARDOUR::Session& sess, PublicEditor& ed, TimeAxisView* rent, Canvas& canvas
+TimeAxisView::TimeAxisView (ARDOUR::Session& sess, PublicEditor& ed, TimeAxisView* rent, Canvas& /*canvas*/
        : AxisView (sess), 
          controls_table (2, 8),
          _y_position (0),
@@ -498,7 +498,7 @@ TimeAxisView::name_entry_key_release (GdkEventKey* ev)
 }
 
 bool
-TimeAxisView::name_entry_focus_in (GdkEventFocus* ev)
+TimeAxisView::name_entry_focus_in (GdkEventFocus*)
 {
        name_entry.select_region (0, -1);
        name_entry.set_name ("EditorActiveTrackNameDisplay");
@@ -506,7 +506,7 @@ TimeAxisView::name_entry_focus_in (GdkEventFocus* ev)
 }
 
 bool
-TimeAxisView::name_entry_focus_out (GdkEventFocus* ev)
+TimeAxisView::name_entry_focus_out (GdkEventFocus*)
 {
        /* clean up */
 
@@ -903,13 +903,13 @@ TimeAxisView::remove_child (boost::shared_ptr<TimeAxisView> child)
 }
 
 void
-TimeAxisView::get_selectables (nframes_t start, nframes_t end, double top, double bot, list<Selectable*>& result)
+TimeAxisView::get_selectables (nframes_t /*start*/, nframes_t /*end*/, double /*top*/, double /*bot*/, list<Selectable*>& /*result*/)
 {
        return;
 }
 
 void
-TimeAxisView::get_inverted_selectables (Selection& sel, list<Selectable*>& result)
+TimeAxisView::get_inverted_selectables (Selection& /*sel*/, list<Selectable*>& /*result*/)
 {
        return;
 }
@@ -1282,7 +1282,7 @@ TimeAxisView::resizer_button_press (GdkEventButton* event)
 }
 
 bool
-TimeAxisView::resizer_button_release (GdkEventButton* ev)
+TimeAxisView::resizer_button_release (GdkEventButton*)
 {
        _resize_drag_start = -1;
        return true;
index 486dc6404d2216ce639bd533886aa708d8f913d9..0589385762212c7300c054ee373839b36b4764e4 100644 (file)
@@ -182,12 +182,12 @@ class TimeAxisView : public virtual AxisView, public PBD::Stateful
        /* editing operations */
        
        virtual bool cut_copy_clear (Selection&, Editing::CutCopyOp) { return false; }
-       virtual bool paste (nframes_t, float times, Selection&, size_t nth) { return false; }
+       virtual bool paste (nframes_t, float /*times*/, Selection&, size_t /*nth*/) { return false; }
        
        virtual void set_selected_regionviews (RegionSelection&) {}
        virtual void set_selected_points (PointSelection&) {}
 
-       virtual boost::shared_ptr<ARDOUR::Region> find_next_region (nframes_t pos, ARDOUR::RegionPoint, int32_t dir) {
+       virtual boost::shared_ptr<ARDOUR::Region> find_next_region (nframes_t /*pos*/, ARDOUR::RegionPoint, int32_t /*dir*/) {
                return boost::shared_ptr<ARDOUR::Region> ();
        }
 
@@ -210,7 +210,7 @@ class TimeAxisView : public virtual AxisView, public PBD::Stateful
 
        /* call this on the parent */
 
-       virtual XMLNode* get_automation_child_xml_node (Evoral::Parameter param) { return 0; }
+       virtual XMLNode* get_automation_child_xml_node (Evoral::Parameter /*param*/) { return 0; }
 
        virtual LayerDisplay layer_display () const { return Overlaid; }
        virtual StreamView* view () const { return 0; }
@@ -268,7 +268,7 @@ class TimeAxisView : public virtual AxisView, public PBD::Stateful
 
        /** Do whatever needs to be done to dynamically reset the LHS control menu.
         */
-       virtual bool handle_display_menu_map_event (GdkEventAny *ev) { return false; }
+       virtual bool handle_display_menu_map_event (GdkEventAny * /*ev*/) { return false; }
 
        /** Build the standard LHS control size menu for the default heights options.
         */
index ed311043765303000f4e0a164c67b2efcb6dfea8..db141a9f01b8acf79dd27b381531359e21a04428 100644 (file)
@@ -406,9 +406,9 @@ TimeAxisViewItem::get_position_locked() const
  * @param src the identity of the object that initiated the change
  */
 void
-TimeAxisViewItem::set_max_duration_active(bool active, void* src)
+TimeAxisViewItem::set_max_duration_active (bool active, void* /*src*/)
 {
-       max_duration_active = active ;
+       max_duration_active = active;
 }
                
 /**
@@ -429,7 +429,7 @@ TimeAxisViewItem::get_max_duration_active() const
  * @param src the identity of the object that initiated the change
  */
 void
-TimeAxisViewItem::set_min_duration_active(bool active, void* src)
+TimeAxisViewItem::set_min_duration_active (bool active, void* /*src*/)
 {
        min_duration_active = active ;
 }
@@ -895,7 +895,7 @@ TimeAxisViewItem::reset_width_dependent_items (double pixel_width)
 }
 
 void
-TimeAxisViewItem::reset_name_width (double pixel_width)
+TimeAxisViewItem::reset_name_width (double /*pixel_width*/)
 {
        set_name_text (item_name);
 }
index a7c7d6ee6030c69d205f896656cfc2e2f97cb682..b0536a26b6a96092599a2b75909e99da9731b953 100644 (file)
@@ -206,7 +206,7 @@ TimeFXDialog::cancel_in_progress ()
 }
 
 gint
-TimeFXDialog::delete_in_progress (GdkEventAny* ev)
+TimeFXDialog::delete_in_progress (GdkEventAny*)
 {
        status = -2;
        request.cancel = true;
index 213cc02d4a5bbc53e646e266fdc28573148148e5..df922c2d629239b380feb5c585fd9c012a5b070f 100644 (file)
@@ -165,7 +165,7 @@ add_item_with_sensitivity (Menu_Helpers::MenuList& m, Menu_Helpers::MenuElem e,
 
 
 gint
-just_hide_it (GdkEventAny *ev, Gtk::Window *win)
+just_hide_it (GdkEventAny */*ev*/, Gtk::Window *win)
 {
        win->hide ();
        return 0;
@@ -285,7 +285,7 @@ xpm2rgba (const char** xpm, uint32_t& w, uint32_t& h)
 }
 
 ArdourCanvas::Points*
-get_canvas_points (string who, uint32_t npoints)
+get_canvas_points (string /*who*/, uint32_t npoints)
 {
        // cerr << who << ": wants " << npoints << " canvas points" << endl;
 #ifdef TRAP_EXCESSIVE_POINT_REQUESTS
index cc63353886214cfc953d7e04bf985dde9ce63496..c5183eb3db8f0c33e63c4ccdf4c9dce15b2e20cf 100644 (file)
@@ -71,7 +71,7 @@ Amp::configure_io (ChanCount in, ChanCount out)
 }
 
 void
-Amp::run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes)
+Amp::run (BufferSet& bufs, sframes_t /*start_frame*/, sframes_t /*end_frame*/, nframes_t nframes)
 {
        gain_t mute_gain;
 
index ed98e8d8ba00f407c82e825aa15951a2298b85ee..7fac339f778e2cb1dc4d21993f172dea884f525e 100644 (file)
@@ -101,8 +101,7 @@ public:
 
        void can_automate(Evoral::Parameter);
 
-       virtual void auto_state_changed (Evoral::Parameter which) {}
-
+       virtual void auto_state_changed (Evoral::Parameter /*which*/) {}
        
        int load_automation (const std::string& path);
        int old_set_automation_state(const XMLNode&);
index a1d34ae92dfc3cf5bb6fa84bd85057ad5c4036bb..23ebb161c897c22ebc8d0735a100beaa96f21f0c 100644 (file)
@@ -29,7 +29,7 @@ namespace ARDOUR {
 template<typename T>
 class AutomatableSequence : public Automatable, public Evoral::Sequence<T> {
 public:
-       AutomatableSequence(Session& s, size_t size)
+       AutomatableSequence(Session& s, size_t /*size*/)
                : Evoral::ControlSet()
                , Automatable(s)
                , Evoral::Sequence<T>(EventTypeMap::instance())
index 8a51a3d570971867f6d91ece4f0324d7866cf858..9eb5bae3de0151838b87281584095662cc7e7780 100644 (file)
@@ -94,9 +94,9 @@ class Diskstream : public SessionObject, public boost::noncopyable
        virtual void set_record_enabled (bool yn) = 0;
 
        bool destructive() const { return _flags & Destructive; }
-       virtual int set_destructive (bool yn) { return -1; }
-       virtual int set_non_layered (bool yn) { return -1; }
-       virtual bool can_become_destructive (bool& requires_bounce) const { return false; }
+       virtual int set_destructive (bool /*yn*/) { return -1; }
+       virtual int set_non_layered (bool /*yn*/) { return -1; }
+       virtual bool can_become_destructive (bool& /*requires_bounce*/) const { return false; }
 
        bool           hidden()      const { return _flags & Hidden; }
        bool           recordable()  const { return _flags & Recordable; }
@@ -109,7 +109,7 @@ class Diskstream : public SessionObject, public boost::noncopyable
 
        void set_speed (double);
        void non_realtime_set_speed ();
-       virtual void non_realtime_locate (nframes_t location) {};
+       virtual void non_realtime_locate (nframes_t /*location*/) {};
        virtual void playlist_modified ();
 
        boost::shared_ptr<Playlist> playlist () { return _playlist; }
index 326d1fd9a41ea51266c7a8852d01393a5c74ee9c..4fe1efa294e1be5a1c3b8c2c50414578df9250d1 100644 (file)
@@ -131,8 +131,8 @@ class RegionExportChannel : public ExportChannel
 
   public:
        void read (Sample * data, nframes_t frames_to_read) const { factory.read (channel, data, frames_to_read); }
-       void get_state (XMLNode * node) const {};
-       void set_state (XMLNode * node, Session & session) {};
+       void get_state (XMLNode * /*node*/) const {};
+       void set_state (XMLNode * /*node*/, Session & /*session*/) {};
        bool empty () const { return false; }
        // Region export should never have duplicate channels, so there need not be any semantics here
        bool operator< (ExportChannel const & other) const { return this < &other; }
index 1da79a8d398d1f656819865ebb53feeef8990cdc..a9044345a68b6552ed392cb93f88a8acc2054329 100644 (file)
@@ -137,7 +137,7 @@ class Normalizer : public GraphSinkVertex<float, float>
 class NullSink : public GraphSink<float>
 {
   public:
-       nframes_t write (float * data, nframes_t frames) { return frames; }
+       nframes_t write (float * /*data*/, nframes_t frames) { return frames; }
 };
 
 
index 1ebdafefa27f6a84c779366ce1dff957043e71c4..01ca994d7deb410402c0c3d4c5d596286dc1f66a 100644 (file)
@@ -21,7 +21,7 @@ class Interpolation {
          double target_speed()          const { return _target_speed; }
          double speed()                 const { return _speed; }
          
-         void add_channel_to (int input_buffer_size, int output_buffer_size) {}
+       void add_channel_to (int /*input_buffer_size*/, int /*output_buffer_size*/) {}
          void remove_channel_from () {}
   
          void reset () {}
@@ -101,7 +101,7 @@ class LibSamplerateInterpolation : public Interpolation {
         ~LibSamplerateInterpolation ();
     
         void   set_speed (double new_speed);
-        void   set_target_speed (double new_speed)   {}
+        void   set_target_speed (double /*new_speed*/) {}
         double speed ()                        const { return _speed;      }
         
         void add_channel_to (int input_buffer_size, int output_buffer_size);
index 847b58243253c28b09ea8c906ce2324ac848350d..b610a87567a567940f2badfb8fbc2fbf81d2be12 100644 (file)
@@ -82,7 +82,7 @@ class LadspaPlugin : public ARDOUR::Plugin
                        _descriptor->cleanup (_handle);
        }
 
-       void set_block_size (nframes_t nframes) {}
+       void set_block_size (nframes_t /*nframes*/) {}
        
        int connect_and_run (BufferSet& bufs,
                        ChanMapping in, ChanMapping out,
index e7a755e4fc76f0eba8facdfa652f38407f198021..1136f75cb66873a2fdaad238b41b028c64cc4131 100644 (file)
@@ -94,7 +94,7 @@ class LV2Plugin : public ARDOUR::Plugin
                _instance = NULL;
        }
 
-       void set_block_size (nframes_t nframes) {}
+       void set_block_size (nframes_t /*nframes*/) {}
        
        int connect_and_run (BufferSet& bufs,
                        ChanMapping in, ChanMapping out,
index 6a4d49223751bf4c8046bb097a2bcf07529fca4e..93a9f76f318360f3e7e02f0666e46411531d9a70 100644 (file)
@@ -52,7 +52,7 @@ class MidiRegion : public Region
        boost::shared_ptr<MidiSource> midi_source (uint32_t n=0) const;
        
        /* Stub Readable interface */
-       virtual nframes_t read (Sample*, sframes_t pos, nframes_t cnt, int channel) const { return 0; }
+       virtual nframes_t read (Sample*, sframes_t /*pos*/, nframes_t /*cnt*/, int /*channel*/) const { return 0; }
        virtual sframes_t readable_length() const { return length(); }
 
        nframes_t read_at (MidiRingBuffer<nframes_t>& dst,
index 3c66046ad1b4d1a4dd9482f2f21905584984b0d2..474b3193c7b5f687744eafdfec5dfcbece2d6642 100644 (file)
@@ -210,7 +210,7 @@ class Panner : public SessionObject, public AutomatableControls
        AutoStyle automation_style() const;
        bool touching() const;
 
-       bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const { return true; };
+       bool can_support_io_configuration (const ChanCount& /*in*/, ChanCount& /*out*/) const { return true; };
 
        /// The fundamental Panner function
        void run (BufferSet& src, BufferSet& dest, sframes_t start_frame, sframes_t end_frames, nframes_t nframes);
index 35b7fa90698619060d738a2500f2cb603066e66a..db928abab80809f2eeb0aa78b34c11627ccbf029 100644 (file)
@@ -251,11 +251,11 @@ class Playlist : public SessionObject,
        void splice_locked (nframes_t at, nframes64_t distance, boost::shared_ptr<Region> exclude);
        void splice_unlocked (nframes_t at, nframes64_t distance, boost::shared_ptr<Region> exclude);
 
-       virtual void finalize_split_region (boost::shared_ptr<Region> original, boost::shared_ptr<Region> left, boost::shared_ptr<Region> right) {}
+       virtual void finalize_split_region (boost::shared_ptr<Region> /*original*/, boost::shared_ptr<Region> /*left*/, boost::shared_ptr<Region> /*right*/) {}
        
-       virtual void check_dependents (boost::shared_ptr<Region> region, bool norefresh) {}
-       virtual void refresh_dependents (boost::shared_ptr<Region> region) {}
-       virtual void remove_dependents (boost::shared_ptr<Region> region) {}
+       virtual void check_dependents (boost::shared_ptr<Region> /*region*/, bool /*norefresh*/) {}
+       virtual void refresh_dependents (boost::shared_ptr<Region> /*region*/) {}
+       virtual void remove_dependents (boost::shared_ptr<Region> /*region*/) {}
 
        virtual XMLNode& state (bool);
 
index f6de29ba41bd24e734de376111338e39af8670f8..a1fe25d31d063140d537d970c53844e3328d19ac 100644 (file)
@@ -167,12 +167,12 @@ class Plugin : public PBD::StatefulDestructible, public Latent
        virtual bool reconfigurable_io() const { return false; }
 
        /* this is only called if reconfigurable_io() returns true */
-       virtual bool configure_io (ChanCount in, ChanCount out) { return true; }
+       virtual bool configure_io (ChanCount /*in*/, ChanCount /*out*/) { return true; }
 
        /* specific types of plugins can overload this. As of September 2008, only
           AUPlugin does this.
        */
-       virtual bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const { return false; }
+       virtual bool can_support_io_configuration (const ChanCount& /*in*/, ChanCount& /*out*/) const { return false; }
        virtual ChanCount output_streams() const;
        virtual ChanCount input_streams() const;
 
index 3f86fb8fd2158e1b52cedaf5122978ed39631cbb..5ac7cb90caceb679d5203ebf01bbe1a277e3725c 100644 (file)
@@ -110,7 +110,9 @@ public:
        virtual void cycle_end (nframes_t) = 0;
        virtual void cycle_split () = 0;
        virtual Buffer& get_buffer (nframes_t nframes, nframes_t offset = 0) = 0;
-       virtual void flush_buffers (nframes_t, nframes_t offset = 0) {}
+       virtual void flush_buffers (nframes_t, nframes_t offset = 0) {
+               (void) offset;
+       }
        
        static void set_engine (AudioEngine *);
 
index a97dcc4cf752fbfa55ea34bd9c326f6e2cc1e316..90a4ab96b4610ba64338ff3a6c67545ff16e839c 100644 (file)
@@ -66,12 +66,12 @@ class Processor : public SessionObject, public AutomatableControls, public Laten
        
        virtual nframes_t signal_latency() const { return 0; }
        
-       virtual void transport_stopped (sframes_t frame) {}
+       virtual void transport_stopped (sframes_t /*frame*/) {}
        
-       virtual void set_block_size (nframes_t nframes) {}
+       virtual void set_block_size (nframes_t /*nframes*/) {}
 
-       virtual void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes) {}
-       virtual void silence (nframes_t nframes) {}
+       virtual void run (BufferSet& /*bufs*/, sframes_t /*start_frame*/, sframes_t /*end_frame*/, nframes_t /*nframes*/) {}
+       virtual void silence (nframes_t /*nframes*/) {}
        
        virtual void activate ()   { _pending_active = true; ActiveChanged(); }
        virtual void deactivate () { _pending_active = false; ActiveChanged(); }
index d2cc252d618ef2c1b98e5fa212ef369a1eb9632d..6a51ae75f599cd135d220d6ffde5419b80ea54ed 100644 (file)
@@ -250,11 +250,12 @@ class Region
        void set_last_layer_op (uint64_t when);
 
        virtual bool is_dependent() const { return false; }
-       virtual bool depends_on (boost::shared_ptr<Region> other) const { return false; }
+       virtual bool depends_on (boost::shared_ptr<Region> /*other*/) const { return false; }
 
        virtual int exportme (ARDOUR::Session&, ARDOUR::ExportSpecification&) = 0;
 
-       virtual int get_transients (AnalysisFeatureList&, bool force_new = false) { 
+       virtual int get_transients (AnalysisFeatureList&, bool force_new = false) {
+               (void) force_new;
                // no transients, but its OK
                return 0;
        }
index 8433038aed60dd71b693b2ec768fb8c325c37f53..9195a500602186ff439a8e1132d7071cf195c886 100644 (file)
@@ -109,7 +109,7 @@ class Route : public SessionObject, public AutomatableControls
        virtual void toggle_monitor_input ();
        virtual bool can_record() { return false; }
 
-       virtual void set_record_enable (bool yn, void *src) {}
+       virtual void set_record_enable (bool /*yn*/, void * /*src*/) {}
        virtual bool record_enabled() const { return false; }
        virtual void handle_transport_stopped (bool abort, bool did_locate, bool flush_processors);
        virtual void set_pending_declick (int);
index b3e50b0869047b00bb5e787924fa91444c33d9e2..adf4dfc429fb373e4da2f01aeca5be9464ab0ef7 100644 (file)
@@ -26,7 +26,7 @@
 namespace ARDOUR {
 
 template<class T> void 
-RouteGroup::apply (void (Track::*func)(T, void *), T val, void *src
+RouteGroup::apply (void (Track::*func)(T, void *), T val, void */*src*/
 {
        for (std::list<Route *>::iterator i = routes.begin(); i != routes.end(); i++) {
                Track *at;
index 8f70b4723e8a4c5576a0502d707ce8a1ee7cc4a5..5a0e03335343a252aa278e6963328b87ac2782c8 100644 (file)
@@ -206,11 +206,11 @@ class Session : public PBD::StatefulDestructible, public boost::noncopyable
                        return e1->before (*e2);
                }
 
-               void *operator new (size_t ignored) {
+               void *operator new (size_t) {
                        return pool.alloc ();
                }
 
-               void operator delete(void *ptr, size_t size) {
+               void operator delete (void *ptr, size_t /*size*/) {
                        pool.release (ptr);
                }
 
@@ -1039,7 +1039,7 @@ class Session : public PBD::StatefulDestructible, public boost::noncopyable
        uint32_t                _listen_cnt;
 
        void set_worst_io_latencies ();
-       void set_worst_io_latencies_x (IOChange asifwecare, void *ignored) {
+       void set_worst_io_latencies_x (IOChange, void *) {
                set_worst_io_latencies ();
        }
 
@@ -1630,11 +1630,11 @@ class Session : public PBD::StatefulDestructible, public boost::noncopyable
                Click (nframes_t s, nframes_t d, const Sample *b)
                        : start (s), duration (d), data (b) { offset = 0; }
 
-               void *operator new(size_t ignored) {
+               void *operator new (size_t) {
                        return pool.alloc ();
                };
 
-               void operator delete(void *ptr, size_t size) {
+               void operator delete(void *ptr, size_t /*size*/) {
                        pool.release (ptr);
                }
 
index c76af3fbcf19ad36459dcedf64079960a6c7341f..dcf7964ac6687d367b6c8ffd0682067884288d8e 100644 (file)
@@ -27,7 +27,7 @@ namespace ARDOUR {
 
 class SilentFileSource : public AudioFileSource {
 public:
-       int update_header (sframes_t when, struct tm&, time_t) { return 0; }
+       int update_header (sframes_t /*when*/, struct tm&, time_t) { return 0; }
        int flush_header () { return 0; }
        float sample_rate () const { return _sample_rate; }
 
@@ -47,17 +47,17 @@ protected:
                _length = len;
        }
 
-       nframes_t read_unlocked (Sample *dst, sframes_t start, nframes_t cnt) const {
+       nframes_t read_unlocked (Sample *dst, sframes_t /*start*/, nframes_t cnt) const {
                memset (dst, 0, sizeof (Sample) * cnt);
                return cnt;
        }
 
-       nframes_t write_unlocked (Sample *dst, nframes_t cnt) { return 0; }
+       nframes_t write_unlocked (Sample */*dst*/, nframes_t /*cnt*/) { return 0; }
 
        void set_header_timeline_position () {}
 
-       int read_peaks_with_fpp (PeakData *peaks, nframes_t npeaks, sframes_t start, nframes_t cnt,
-                       double samples_per_unit, nframes_t fpp) const {
+       int read_peaks_with_fpp (PeakData *peaks, nframes_t npeaks, sframes_t /*start*/, nframes_t /*cnt*/,
+                                double /*samples_per_unit*/, nframes_t /*fpp*/) const {
                memset (peaks, 0, sizeof (PeakData) * npeaks);
                return 0;
        }
index 283aaf5042c270f63ebd9ae0290dd33190ca262f..5987151307d6bc41bf49f69f07da488acfd14474 100644 (file)
@@ -165,8 +165,10 @@ class ISlaveSessionProxy {
        virtual nframes_t frames_since_cycle_start () const   { return 0; }
        virtual nframes_t frame_time ()               const   { return 0; }
 
-       virtual void request_locate (nframes_t frame, bool with_roll = false) {}
-       virtual void request_transport_speed (double speed)                   {}
+       virtual void request_locate (nframes_t /*frame*/, bool with_roll = false) {
+               (void) with_roll;
+       }
+       virtual void request_transport_speed (double /*speed*/)                   {}
 };
 
 
index 162f4400a46e68fe5b1a30ff4d04ea652eb6a991..968a92a8043d9e181da09168737f64e7fc77c884 100644 (file)
@@ -80,7 +80,7 @@ class Source : public SessionObject, public boost::noncopyable
        
        bool         destructive() const       { return (_flags & Destructive); }
        bool         writable () const         { return _flags & Writable; }
-       virtual bool set_destructive (bool yn) { return false; }
+       virtual bool set_destructive (bool /*yn*/) { return false; }
        virtual bool length_mutable() const    { return false; }
        
        void use ()    { _in_use++; }
index aca7c6f968a7aed060cc1f1a04ddb20122073d8a..c2f69f0b9b618a06270af590c2642dcb141e0fb5 100644 (file)
@@ -41,8 +41,8 @@ class Track : public Route
        bool set_name (const std::string& str);
 
        TrackMode mode () const { return _mode; }
-       virtual int set_mode (TrackMode m) { return false; }
-       virtual bool can_use_mode (TrackMode m, bool& bounce_required) { return false; }
+       virtual int set_mode (TrackMode /*m*/) { return false; }
+       virtual bool can_use_mode (TrackMode /*m*/, bool& /*bounce_required*/) { return false; }
        sigc::signal<void> TrackModeChanged;
        
        int no_roll (nframes_t nframes, sframes_t start_frame, sframes_t end_frame, 
index d67e48fed4ed7fc0f4aee554b3c3921f98e782f4..5c00f10f48fd4aee8c769c7fca071d5c8c712119 100644 (file)
@@ -388,7 +388,7 @@ AudioDiskstream::use_destructive_playlist ()
 }
 
 void
-AudioDiskstream::check_record_status (nframes_t transport_frame, nframes_t nframes, bool can_record)
+AudioDiskstream::check_record_status (nframes_t transport_frame, nframes_t /*nframes*/, bool can_record)
 {
        int possibly_recording;
        int rolling;
@@ -832,7 +832,7 @@ AudioDiskstream::process_varispeed_playback(nframes_t nframes, boost::shared_ptr
 }
 
 bool
-AudioDiskstream::commit (nframes_t nframes)
+AudioDiskstream::commit (nframes_t /*nframes*/)
 {
        bool need_butler = false;
 
@@ -1030,7 +1030,7 @@ AudioDiskstream::internal_playback_seek (nframes_t distance)
 
 int
 AudioDiskstream::read (Sample* buf, Sample* mixdown_buffer, float* gain_buffer, nframes_t& start, nframes_t cnt, 
-                      ChannelInfo* channel_info, int channel, bool reversed)
+                      ChannelInfo* /*channel_info*/, int channel, bool reversed)
 {
        nframes_t this_read = 0;
        bool reloop = false;
@@ -1364,7 +1364,7 @@ AudioDiskstream::_do_refill (Sample* mixdown_buffer, float* gain_buffer)
  * written at all unless @a force_flush is true.
  */
 int
-AudioDiskstream::do_flush (RunContext context, bool force_flush)
+AudioDiskstream::do_flush (RunContext /*context*/, bool force_flush)
 {
        uint32_t to_write;
        int32_t ret = 0;
@@ -1724,7 +1724,7 @@ AudioDiskstream::transport_looped (nframes_t transport_frame)
 }
 
 void
-AudioDiskstream::finish_capture (bool rec_monitors_input, boost::shared_ptr<ChannelList> c)
+AudioDiskstream::finish_capture (bool /*rec_monitors_input*/, boost::shared_ptr<ChannelList> c)
 {
        was_recording = false;
        
@@ -2059,7 +2059,7 @@ AudioDiskstream::use_new_write_source (uint32_t n)
 }
 
 void
-AudioDiskstream::reset_write_sources (bool mark_write_complete, bool force)
+AudioDiskstream::reset_write_sources (bool mark_write_complete, bool /*force*/)
 {
        ChannelList::iterator chan;
        boost::shared_ptr<ChannelList> c = channels.reader();
@@ -2120,7 +2120,7 @@ AudioDiskstream::rename_write_sources ()
 }
 
 void
-AudioDiskstream::set_block_size (nframes_t nframes)
+AudioDiskstream::set_block_size (nframes_t /*nframes*/)
 {
        if (_session.get_block_size() > speed_buffer_size) {
                speed_buffer_size = _session.get_block_size();
index 7f89091fdd0a9535c0cea8e9e98cd02fa21bd78a..93bdc333f134413a67faf1ab5e2b91ca3c4beb72 100644 (file)
@@ -729,7 +729,7 @@ AudioPlaylist::destroy_region (boost::shared_ptr<Region> region)
 }
 
 void
-AudioPlaylist::crossfade_changed (Change ignored)
+AudioPlaylist::crossfade_changed (Change)
 {
        if (in_flush || in_set_state) {
                return;
index aa327e1eba9520798ad9b7aeb02d60cb8ad3b5f3..3c8fe8c42c3308ffbfcbc3d513458fa8a0760362 100644 (file)
@@ -173,7 +173,7 @@ AudioTrack::deprecated_use_diskstream_connections ()
 }
 
 int
-AudioTrack::set_diskstream (boost::shared_ptr<AudioDiskstream> ds, void *src)
+AudioTrack::set_diskstream (boost::shared_ptr<AudioDiskstream> ds, void * /*src*/)
 {
        _diskstream = ds;
        _diskstream->set_route (*this);
index 7533a1ed8f71ce9ad9f500363655b76d772b626c..d9a817cb7b9d25d49036c8384b05ac961a265a2e 100644 (file)
@@ -123,7 +123,7 @@ AudioEngine::jack() const
 }
 
 void
-_thread_init_callback (void *arg)
+_thread_init_callback (void * /*arg*/)
 {
        /* make sure that anybody who needs to know about this thread
           knows about it.
@@ -217,7 +217,7 @@ AudioEngine::stop (bool forever)
 
 
 bool
-AudioEngine::get_sync_offset (nframes_t& offset) const
+AudioEngine::get_sync_offset (nframes_t& /*offset*/) const
 {
 
 #ifdef HAVE_JACK_VIDEO_SUPPORT
index f1a65edc63645d9ff41d4e5eef3b2ea4b398512e..705fbc4eab7c955234aa12b35c7d23e27366f692 100644 (file)
@@ -103,7 +103,7 @@ AudioFileSource::AudioFileSource (Session& s, const ustring& path, bool embedded
 
 /** Constructor used for new internal-to-session files. */
 AudioFileSource::AudioFileSource (Session& s, const ustring& path, bool embedded, Source::Flag flags,
-               SampleFormat samp_format, HeaderFormat hdr_format)
+                                 SampleFormat /*samp_format*/, HeaderFormat /*hdr_format*/)
        : Source (s, DataType::AUDIO, path, flags)
        , AudioSource (s, path)
        , FileSource (s, DataType::AUDIO, path, embedded, flags)
@@ -307,7 +307,7 @@ AudioFileSource::set_header_position_offset (nframes_t offset)
 }
 
 bool
-AudioFileSource::is_empty (Session& s, ustring path)
+AudioFileSource::is_empty (Session& /*s*/, ustring path)
 {
        SoundFileInfo info;
        string err;
index 5743bae93509fed9566b3e0867067cea5fe25e73..89c0c3a3ccdcfe24daa05d37e570b6d80e3c8077 100644 (file)
@@ -195,7 +195,7 @@ AudioRegion::AudioRegion (boost::shared_ptr<const AudioRegion> other)
        assert (_sources.size() == _master_sources.size());
 }
 
-AudioRegion::AudioRegion (boost::shared_ptr<const AudioRegion> other, const SourceList& srcs,
+AudioRegion::AudioRegion (boost::shared_ptr<const AudioRegion> other, const SourceList& /*srcs*/,
                          nframes_t length, const string& name, layer_t layer, Flag flags)
        : Region (other, length, name, layer, flags)
        , _automatable (other->session())
@@ -373,12 +373,12 @@ AudioRegion::master_read_at (Sample *buf, Sample *mixdown_buffer, float *gain_bu
 }
 
 nframes_t
-AudioRegion::_read_at (const SourceList& srcs, nframes_t limit,
+AudioRegion::_read_at (const SourceList& /*srcs*/, nframes_t limit,
                Sample *buf, Sample *mixdown_buffer, float *gain_buffer,
                sframes_t position, nframes_t cnt, 
                uint32_t chan_n, 
-               nframes_t read_frames
-               nframes_t skip_frames,
+               nframes_t /*read_frames*/
+               nframes_t /*skip_frames*/,
                ReadOps rops) const
 {
        nframes_t internal_offset;
@@ -1038,7 +1038,7 @@ AudioRegion::recompute_at_start ()
 }
 
 int
-AudioRegion::separate_by_channel (Session& session, vector<boost::shared_ptr<Region> >& v) const
+AudioRegion::separate_by_channel (Session& /*session*/, vector<boost::shared_ptr<Region> >& v) const
 {
        SourceList srcs;
        string new_name;
@@ -1086,7 +1086,7 @@ AudioRegion::read_raw_internal (Sample* buf, sframes_t pos, nframes_t cnt, int c
 }
 
 int
-AudioRegion::exportme (Session& session, ARDOUR::ExportSpecification& spec)
+AudioRegion::exportme (Session& /*session*/, ARDOUR::ExportSpecification& /*spec*/)
 {
        // TODO EXPORT
 //     const nframes_t blocksize = 4096;
index 17c20e05ee08c3b7b75d37b128a7f716d00bcc80..f44628956a824293494462802fbdaaa401245945 100644 (file)
@@ -128,7 +128,7 @@ AudioSource::set_state (const XMLNode& node)
 }
 
 sframes_t
-AudioSource::length (sframes_t pos) const
+AudioSource::length (sframes_t /*pos*/) const
 {
        return _length;
 }
@@ -264,7 +264,7 @@ AudioSource::initialize_peakfile (bool newfile, ustring audio_path)
 }
 
 nframes_t
-AudioSource::read (Sample *dst, sframes_t start, nframes_t cnt, int channel) const
+AudioSource::read (Sample *dst, sframes_t start, nframes_t cnt, int /*channel*/) const
 {
        Glib::Mutex::Lock lm (_lock);
        return read_unlocked (dst, start, cnt);
index 35a1b70137456fc1e201aecda0fbb8ad82bc8a96..4d99e2f5e00af42bd0dcef7e189c2668d29d76d7 100644 (file)
@@ -200,7 +200,7 @@ Auditioner::play_audition (nframes_t nframes)
 }
 
 void
-Auditioner::output_changed (IOChange change, void* src)
+Auditioner::output_changed (IOChange change, void* /*src*/)
 {
        string phys;
 
index 006d32508ea4161d24ef6fe716ea324f37c8976a..2f0d66f8fba93439aebe08a692e78e695d97ff77 100644 (file)
@@ -270,7 +270,7 @@ Crossfade::initialize ()
 }      
 
 nframes_t 
-Crossfade::read_raw_internal (Sample* buf, sframes_t start, nframes_t cnt, int channel) const
+Crossfade::read_raw_internal (Sample* /*buf*/, sframes_t /*start*/, nframes_t cnt, int /*channel*/) const
 {
        // FIXME: Why is this disabled?
 #if 0
index aff082f09631b121cc441a3351ffc9437a7580a9..5a7365df96664d03e8e64af107ed0a8d60e94c5f 100644 (file)
@@ -163,7 +163,7 @@ Delivery::display_name () const
 }
 
 void
-Delivery::cycle_start (nframes_t nframes)
+Delivery::cycle_start (nframes_t /*nframes*/)
 {
        _output_offset = 0;
        _no_outs_cuz_we_no_monitor = false;
@@ -578,7 +578,7 @@ Delivery::set_name (const std::string& name)
 }
 
 void
-Delivery::output_changed (IOChange change, void* src)
+Delivery::output_changed (IOChange change, void* /*src*/)
 {
        if (change & ARDOUR::ConfigurationChanged) {
                reset_panner ();
index b9638674eb8ef93675c62e87f8f7da82dd416812..6b9ecc53fe25b05e0e06292e3a950322439e2da0 100644 (file)
@@ -77,7 +77,7 @@ Diskstream::Diskstream (Session &sess, const string &name, Flag flag)
        init (flag);
 }
        
-Diskstream::Diskstream (Session& sess, const XMLNode& node)
+Diskstream::Diskstream (Session& sess, const XMLNode& /*node*/)
        : SessionObject(sess, "unnamed diskstream")
 {
        init (Recordable);
@@ -145,7 +145,7 @@ Diskstream::set_route (Route& r)
 }
 
 void
-Diskstream::handle_input_change (IOChange change, void *src)
+Diskstream::handle_input_change (IOChange change, void * /*src*/)
 {
        Glib::Mutex::Lock lm (state_lock);
 
@@ -356,7 +356,7 @@ Diskstream::use_playlist (boost::shared_ptr<Playlist> playlist)
 }
 
 void
-Diskstream::playlist_changed (Change ignored)
+Diskstream::playlist_changed (Change)
 {
        playlist_modified ();
 }
index 924b294583ee0d6df7b6ac4ba3715768e8370676..8b4b9e550f32d9ea46d50361a31960abdeee4f1f 100644 (file)
@@ -404,7 +404,7 @@ ExportFormatManager::change_dither_type_selection (bool select, WeakDitherTypePt
 }
 
 void
-ExportFormatManager::select_compatibility (WeakCompatPtr const & compat)
+ExportFormatManager::select_compatibility (WeakCompatPtr const & /*compat*/)
 {
        /* Calculate compatibility intersection for the selection */
        
index 027701be092cd7e1419a24ecbde844559d94ddd1..dc582a36ee0c2ba20b0de6ae7606b5b8b3a7a482 100644 (file)
@@ -65,7 +65,7 @@ FileSource::FileSource (Session& session, DataType type,
 {
 }
 
-FileSource::FileSource (Session& session, const XMLNode& node, bool must_exist)
+FileSource::FileSource (Session& session, const XMLNode& node, bool /*must_exist*/)
        : Source(session, node)
        , _file_is_new(false)
 {
index 62b96d345ec8e34d34ed2f6a3b4c9376ddab3868..cf38050063eabcb9a1ebdbf68598de83e7145755 100644 (file)
@@ -41,21 +41,21 @@ Gain::operator= (const Gain& other)
 }
 
 void
-Gain::fill_linear_volume_fade_in (Gain& gain, nframes_t frames)
+Gain::fill_linear_volume_fade_in (Gain& /*gain*/, nframes_t /*frames*/)
 {
 }
 
 void
-Gain::fill_linear_volume_fade_out (Gain& gain, nframes_t frames)
+Gain::fill_linear_volume_fade_out (Gain& /*gain*/, nframes_t /*frames*/)
 {
 }
 
 void
-Gain::fill_linear_fade_in (Gain& gain, nframes_t frames)
+Gain::fill_linear_fade_in (Gain& /*gain*/, nframes_t /*frames*/)
 {
 }
 
 void
-Gain::fill_linear_fade_out (Gain& gain, nframes_t frames)
+Gain::fill_linear_fade_out (Gain& /*gain*/, nframes_t /*frames*/)
 {
 }
index 12a7db3659afc9eea456eb61da2ee18772c7c292..53da346d91f2a432949c1df48c0d7e2343c7ee01 100644 (file)
@@ -191,8 +191,8 @@ get_paths_for_new_sources (const bool allow_replacing, const string& import_file
 }
 
 static bool
-map_existing_mono_sources (const vector<string>& new_paths, Session& sess,
-                          uint samplerate, vector<boost::shared_ptr<Source> >& newfiles, Session *session)
+map_existing_mono_sources (const vector<string>& new_paths, Session& /*sess*/,
+                          uint /*samplerate*/, vector<boost::shared_ptr<Source> >& newfiles, Session *session)
 {
        for (vector<string>::const_iterator i = new_paths.begin();
                        i != new_paths.end(); ++i)
index f6c99d85184946ce16810f0dc94af9b6e7e54fdf..807582c37956748edf89dc05fa5a2460042d1da7 100644 (file)
@@ -44,7 +44,7 @@ InternalReturn::InternalReturn (Session& s, const XMLNode& node)
 }
 
 void
-InternalReturn::run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes)
+InternalReturn::run (BufferSet& bufs, sframes_t /*start_frame*/, sframes_t /*end_frame*/, nframes_t nframes)
 {
        if (!_active && !_pending_active) {
                return;
index fbe02514713834cb2bd624d8d3e84463cce0bb91..a5cdf1ce8b61a56794f07cf978980a1c71107b6c 100644 (file)
@@ -49,7 +49,7 @@ FixedPointLinearInterpolation::interpolate (int channel, nframes_t nframes, Samp
 }
 
 void 
-FixedPointLinearInterpolation::add_channel_to (int input_buffer_size, int output_buffer_size)
+FixedPointLinearInterpolation::add_channel_to (int /*input_buffer_size*/, int /*output_buffer_size*/)
 {
        last_phase.push_back (0);
 }
@@ -117,7 +117,7 @@ LinearInterpolation::interpolate (int channel, nframes_t nframes, Sample *input,
 }
 
 void 
-LinearInterpolation::add_channel_to (int input_buffer_size, int output_buffer_size)
+LinearInterpolation::add_channel_to (int /*input_buffer_size*/, int /*output_buffer_size*/)
 {
        phase.push_back (0.0);
 }
index 4fb3f915c4f74556cc7c56f422cf5c729148b660..0d7446e8523a2757bcbfb285a4a600eb5353d690 100644 (file)
@@ -354,7 +354,7 @@ IO::disconnect (void* src)
 }
 
 bool
-IO::ensure_ports_locked (ChanCount count, bool clear, void* src)
+IO::ensure_ports_locked (ChanCount count, bool clear, void* /*src*/)
 {
        Port* port = 0;
        bool  changed    = false;
@@ -460,7 +460,7 @@ IO::get_state (void)
 }
 
 XMLNode&
-IO::state (bool full_state)
+IO::state (bool /*full_state*/)
 {
        XMLNode* node = new XMLNode (state_node_name);
        char buf[64];
@@ -1039,7 +1039,7 @@ IO::enable_connecting ()
 }
 
 void
-IO::bundle_changed (Bundle::Change c)
+IO::bundle_changed (Bundle::Change /*c*/)
 {
        //XXX
 //     connect_input_ports_to_bundle (_input_bundle, this);
index ebffd31028837ee14dfdc143e60cf1d1f3d46027..708820cdcadd55c22b129682887bdae8a1d8dcdb 100644 (file)
@@ -69,7 +69,7 @@ IOProcessor::IOProcessor (Session& s, bool with_input, bool with_output,
 /* create an IOProcessor that proxies to an existing IO object */
 
 IOProcessor::IOProcessor (Session& s, boost::shared_ptr<IO> in, boost::shared_ptr<IO> out, 
-                         const string& proc_name, DataType dtype)
+                         const string& proc_name, DataType /*dtype*/)
        : Processor(s, proc_name)
        , _input (in)
        , _output (out)
index 43ffefaae162c9197436e724fa61f1c4510ef3fa..b66d0f3942606ad52982f717e34644bdb0de7878 100644 (file)
@@ -654,7 +654,7 @@ Locations::remove (Location *loc)
 }
 
 void
-Locations::location_changed (Location* loc)
+Locations::location_changed (Location* /*loc*/)
 {
        changed (); /* EMIT SIGNAL */
 }
index 6afd395a56580ae2e3eea99aef2edd0f87d0d744..88ecfe1433126ce7aef2c28c5adc59e9cb39d232 100644 (file)
@@ -165,7 +165,7 @@ LV2EventBuffer::append(uint32_t       frames,
  * \return true on success
  */
 bool
-LV2EventBuffer::append(const LV2_Event_Buffer* buf)
+LV2EventBuffer::append(const LV2_Event_Buffer* /*buf*/)
 {
        uint8_t** data = NULL;
        bool      ret  = true;
index 8000bd8e44e3487de6c1524d8fbd1b6ca2dda193..32c6fd29294973a0e1a3100441bd734f0ff48836 100644 (file)
@@ -325,7 +325,7 @@ LV2Plugin::load_preset(const string uri)
 }
 
 bool
-LV2Plugin::save_preset (string name)
+LV2Plugin::save_preset (string /*name*/)
 {
        return false;
 }
index e8512aa5932706ffb09bbde0dfa7545dfb6ba111..c8546c8ffa20b66ff1d2d8a228d85c5ab8d573d6 100644 (file)
@@ -71,7 +71,7 @@ Metering::update_meters()
  * be set to 0.
  */
 void
-PeakMeter::run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes)
+PeakMeter::run (BufferSet& bufs, sframes_t /*start_frame*/, sframes_t /*end_frame*/, nframes_t nframes)
 {
        if (!_active && !_pending_active) {
                return;
index 887545c6625e3b622de31d84fee25ab80db67f84..ae3071a53cd673fed85841a7530b9b8446840f50 100644 (file)
@@ -100,7 +100,7 @@ MidiBuffer::read_from (const Buffer& src, nframes_t nframes, nframes_t dst_offse
 }
 
 void
-MidiBuffer::merge_from (const Buffer& src, nframes_t nframes, nframes_t dst_offset, nframes_t src_offset)
+MidiBuffer::merge_from (const Buffer& src, nframes_t /*nframes*/, nframes_t /*dst_offset*/, nframes_t /*src_offset*/)
 {
        const MidiBuffer* mbuf = dynamic_cast<const MidiBuffer*>(&src);
        assert (mbuf);
@@ -233,7 +233,7 @@ MidiBuffer::reserve(TimeType time, size_t size)
 
 
 void
-MidiBuffer::silence (nframes_t nframes, nframes_t offset)
+MidiBuffer::silence (nframes_t /*nframes*/, nframes_t /*offset*/)
 {
        /* XXX iterate over existing events, find all in range given by offset & nframes,
           and delete them.
index 0b0c85b01b9dee588da038da8451d8e0f99d02a0..1182fed23d9676e01557682035ec4d5d18437532 100644 (file)
@@ -124,7 +124,7 @@ MIDIClock_Slave::calculate_filter_coefficients()
 }
 
 void
-MIDIClock_Slave::update_midi_clock (Parser& parser, nframes_t timestamp)
+MIDIClock_Slave::update_midi_clock (Parser& /*parser*/, nframes_t timestamp)
 {      
        // some pieces of hardware send MIDI Clock all the time                         
        if ( (!_starting) && (!_started) ) {
@@ -195,7 +195,7 @@ MIDIClock_Slave::update_midi_clock (Parser& parser, nframes_t timestamp)
 }
 
 void
-MIDIClock_Slave::start (Parser& parser, nframes_t timestamp)
+MIDIClock_Slave::start (Parser& /*parser*/, nframes_t /*timestamp*/)
 {      
        #ifdef DEBUG_MIDI_CLOCK 
                cerr << "MIDIClock_Slave got start message at time "  <<  timestamp << " engine time: " << session->frame_time() << endl;
@@ -223,7 +223,7 @@ MIDIClock_Slave::reset ()
 }
 
 void
-MIDIClock_Slave::contineu (Parser& parser, nframes_t timestamp)
+MIDIClock_Slave::contineu (Parser& /*parser*/, nframes_t /*timestamp*/)
 {
        #ifdef DEBUG_MIDI_CLOCK 
                std::cerr << "MIDIClock_Slave got continue message" << endl;
@@ -236,7 +236,7 @@ MIDIClock_Slave::contineu (Parser& parser, nframes_t timestamp)
 
 
 void
-MIDIClock_Slave::stop (Parser& parser, nframes_t timestamp)
+MIDIClock_Slave::stop (Parser& /*parser*/, nframes_t /*timestamp*/)
 {
        #ifdef DEBUG_MIDI_CLOCK 
                std::cerr << "MIDIClock_Slave got stop message" << endl;
@@ -268,7 +268,7 @@ MIDIClock_Slave::stop (Parser& parser, nframes_t timestamp)
 }
 
 void
-MIDIClock_Slave::position (Parser& parser, byte* message, size_t size)
+MIDIClock_Slave::position (Parser& /*parser*/, byte* message, size_t size)
 {
        // we are note supposed to get position messages while we are running
        // so lets be robust and ignore those
index aa6d77b00070d9333c4b3850db6a8495b9899f9a..29b6ab4a4db8ef19a063c056da70bdf1ab3489ae 100644 (file)
@@ -314,7 +314,7 @@ MidiDiskstream::set_note_mode (NoteMode m)
 }
 
 void
-MidiDiskstream::check_record_status (nframes_t transport_frame, nframes_t nframes, bool can_record)
+MidiDiskstream::check_record_status (nframes_t transport_frame, nframes_t /*nframes*/, bool can_record)
 {
        // FIXME: waaay too much code to duplicate (AudioDiskstream)
        
@@ -1029,7 +1029,7 @@ MidiDiskstream::do_refill ()
  * written at all unless @a force_flush is true.
  */
 int
-MidiDiskstream::do_flush (RunContext context, bool force_flush)
+MidiDiskstream::do_flush (RunContext /*context*/, bool force_flush)
 {
        uint32_t to_write;
        int32_t ret = 0;
@@ -1084,7 +1084,7 @@ out:
 }
 
 void
-MidiDiskstream::transport_stopped (struct tm& when, time_t twhen, bool abort_capture)
+MidiDiskstream::transport_stopped (struct tm& /*when*/, time_t /*twhen*/, bool abort_capture)
 {
        uint32_t buffer_position;
        bool more_work = true;
@@ -1257,7 +1257,7 @@ MidiDiskstream::transport_looped (nframes_t transport_frame)
 }
 
 void
-MidiDiskstream::finish_capture (bool rec_monitors_input)
+MidiDiskstream::finish_capture (bool /*rec_monitors_input*/)
 {
        was_recording = false;
        
@@ -1547,7 +1547,7 @@ MidiDiskstream::use_new_write_source (uint32_t n)
 }
 
 void
-MidiDiskstream::reset_write_sources (bool mark_write_complete, bool force)
+MidiDiskstream::reset_write_sources (bool mark_write_complete, bool /*force*/)
 {
        if (!recordable()) {
                return;
@@ -1575,7 +1575,7 @@ MidiDiskstream::rename_write_sources ()
 }
 
 void
-MidiDiskstream::set_block_size (nframes_t nframes)
+MidiDiskstream::set_block_size (nframes_t /*nframes*/)
 {
 }
 
@@ -1629,7 +1629,7 @@ MidiDiskstream::capture_buffer_load () const
 }
 
 int
-MidiDiskstream::use_pending_capture_data (XMLNode& node)
+MidiDiskstream::use_pending_capture_data (XMLNode& /*node*/)
 {
        return 0;
 }
index 20ee0c277075bb69ed231cbfbc791dd27d0f4e20..8f8b882d1e99de56a4b964c47d9be3a8f898b008 100644 (file)
@@ -161,26 +161,26 @@ MidiPlaylist::read (MidiRingBuffer<nframes_t>& dst, nframes_t start, nframes_t d
 
 
 void
-MidiPlaylist::remove_dependents (boost::shared_ptr<Region> region)
+MidiPlaylist::remove_dependents (boost::shared_ptr<Region> /*region*/)
 {
        /* MIDI regions have no dependents (crossfades) */
 }
 
 
 void
-MidiPlaylist::refresh_dependents (boost::shared_ptr<Region> r)
+MidiPlaylist::refresh_dependents (boost::shared_ptr<Region> /*r*/)
 {
        /* MIDI regions have no dependents (crossfades) */
 }
 
 void
-MidiPlaylist::finalize_split_region (boost::shared_ptr<Region> original, boost::shared_ptr<Region> left, boost::shared_ptr<Region> right)
+MidiPlaylist::finalize_split_region (boost::shared_ptr<Region> /*original*/, boost::shared_ptr<Region> /*left*/, boost::shared_ptr<Region> /*right*/)
 {
        /* No MIDI crossfading (yet?), so nothing to do here */
 }
 
 void
-MidiPlaylist::check_dependents (boost::shared_ptr<Region> r, bool norefresh)
+MidiPlaylist::check_dependents (boost::shared_ptr<Region> /*r*/, bool /*norefresh*/)
 {
        /* MIDI regions have no dependents (crossfades) */
 }
index 30084c67183f9b315b563022d29aab51971f6539..b07eb84f1b227892b8ba5457d71a6c2a75a505e7 100644 (file)
@@ -96,7 +96,7 @@ MidiPort::get_midi_buffer (nframes_t nframes, nframes_t offset)
 
        
 void
-MidiPort::cycle_end (nframes_t nframes)
+MidiPort::cycle_end (nframes_t /*nframes*/)
 {
        _has_been_mixed_down = false;
 }
index 29357322ead5b2dc69d9dcccacbf523d23acf4b5..910789c7fbfa8c62d77f87a0d1306e55329d01ac 100644 (file)
@@ -142,7 +142,7 @@ MidiRegion::master_read_at (MidiRingBuffer<nframes_t>& out, sframes_t position,
 }
 
 nframes_t
-MidiRegion::_read_at (const SourceList& srcs, MidiRingBuffer<nframes_t>& dst, nframes_t position, nframes_t dur, uint32_t chan_n, NoteMode mode) const
+MidiRegion::_read_at (const SourceList& /*srcs*/, MidiRingBuffer<nframes_t>& dst, nframes_t position, nframes_t dur, uint32_t chan_n, NoteMode mode) const
 {
        nframes_t internal_offset = 0;
        nframes_t src_offset      = 0;
index 59c19981a50c515b44846a559e7b712143449841..f16ebf186f27ee0cc7366326a15adad3d051f247 100644 (file)
@@ -113,7 +113,7 @@ MidiSource::length (sframes_t pos) const
 }
 
 void
-MidiSource::update_length (sframes_t pos, sframes_t cnt)
+MidiSource::update_length (sframes_t /*pos*/, sframes_t /*cnt*/)
 {
        // You're not the boss of me!
 }
index fc106194a29ece4503316b6f69921d400db3c44c..5a53cecc3c5fe22e4f9f1c9cd8068caa5018cd22 100644 (file)
@@ -448,7 +448,7 @@ MidiTrack::roll (nframes_t nframes, sframes_t start_frame, sframes_t end_frame,
 }
 
 void
-MidiTrack::write_controller_messages(MidiBuffer& output_buf, sframes_t start, sframes_t end, nframes_t nframes)
+MidiTrack::write_controller_messages(MidiBuffer& output_buf, sframes_t /*start*/, sframes_t /*end*/, nframes_t nframes)
 {
        // Append immediate events (UI controls)
 
@@ -458,7 +458,7 @@ MidiTrack::write_controller_messages(MidiBuffer& output_buf, sframes_t start, sf
 }
 
 int
-MidiTrack::export_stuff (BufferSet& bufs, nframes_t nframes, sframes_t end_frame)
+MidiTrack::export_stuff (BufferSet& /*bufs*/, nframes_t /*nframes*/, sframes_t /*end_frame*/)
 {
        return -1;
 }
@@ -471,7 +471,7 @@ MidiTrack::set_latency_delay (nframes_t longest_session_latency)
 }
 
 boost::shared_ptr<Region>
-MidiTrack::bounce (InterThreadInfo& itt)
+MidiTrack::bounce (InterThreadInfo& /*itt*/)
 {
        throw;
        // vector<MidiSource*> srcs;
@@ -481,7 +481,7 @@ MidiTrack::bounce (InterThreadInfo& itt)
 
 
 boost::shared_ptr<Region>
-MidiTrack::bounce_range (nframes_t start, nframes_t end, InterThreadInfo& itt, bool enable_processing)
+MidiTrack::bounce_range (nframes_t /*start*/, nframes_t /*end*/, InterThreadInfo& /*itt*/, bool /*enable_processing*/)
 {
        throw;
        //vector<MidiSource*> srcs;
@@ -490,7 +490,7 @@ MidiTrack::bounce_range (nframes_t start, nframes_t end, InterThreadInfo& itt, b
 }
 
 void
-MidiTrack::freeze (InterThreadInfo& itt)
+MidiTrack::freeze (InterThreadInfo& /*itt*/)
 {
 }
 
index 91a8531b56a70decc1d30dc08ac591e5960b79dd..587d6007b3e2ae7adab2a499c6bfd6ae6a8f2472 100644 (file)
@@ -69,7 +69,7 @@ MTC_Slave::rebind (MIDI::Port& p)
 }
 
 void
-MTC_Slave::update_mtc_qtr (Parser& p)
+MTC_Slave::update_mtc_qtr (Parser& /*p*/)
 {
        cycles_t cnow = get_cycles ();
        nframes_t now = session.engine().frame_time();
index eea726cdca15bf8793a964690ef4f08c2981dd72..dbb4a8ca4d2103a2dcf77fb30c1b0aa0786fe032 100644 (file)
@@ -106,7 +106,7 @@ NamedSelection::~NamedSelection ()
 }
 
 int
-NamedSelection::set_state (const XMLNode& node)
+NamedSelection::set_state (const XMLNode& /*node*/)
 {
        return 0;
 }
index be72f6559392139e30b869dcd4ac05a95f8364ef..f43741300a6d7df8f846a22b07697ae295d55d60 100644 (file)
@@ -465,7 +465,7 @@ EqualPowerStereoPanner::get_state (void)
 }
 
 XMLNode&
-EqualPowerStereoPanner::state (bool full_state)
+EqualPowerStereoPanner::state (bool /*full_state*/)
 {
        XMLNode* root = new XMLNode ("StreamPanner");
        char buf[64];
@@ -623,9 +623,9 @@ Multi2dPanner::distribute (AudioBuffer& srcbuf, BufferSet& obufs, gain_t gain_co
 }
 
 void
-Multi2dPanner::distribute_automated (AudioBuffer& src, BufferSet& obufs
-                                    nframes_t start, nframes_t end, nframes_t nframes,
-                                    pan_t** buffers)
+Multi2dPanner::distribute_automated (AudioBuffer& /*src*/, BufferSet& /*obufs*/
+                                    nframes_t /*start*/, nframes_t /*end*/, nframes_t /*nframes*/,
+                                    pan_t** /*buffers*/)
 {
        if (_muted) {
                return;
@@ -643,7 +643,7 @@ Multi2dPanner::factory (Panner& p, Evoral::Parameter param)
 }
 
 int
-Multi2dPanner::load (istream& in, string path, uint32_t& linecnt)
+Multi2dPanner::load (istream& /*in*/, string /*path*/, uint32_t& /*linecnt*/)
 {
        return 0;
 }
@@ -655,7 +655,7 @@ Multi2dPanner::get_state (void)
 }
 
 XMLNode&
-Multi2dPanner::state (bool full_state)
+Multi2dPanner::state (bool /*full_state*/)
 {
        XMLNode* root = new XMLNode ("StreamPanner");
        char buf[64];
index 8f7eae58493cb2d1dcc12d6597c33e086ee289e9..1c3b027e52482e9b2f3b7bbc3299bbc23d92248a 100644 (file)
@@ -375,7 +375,7 @@ PluginInsert::silence (nframes_t nframes)
 }
        
 void
-PluginInsert::run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes)
+PluginInsert::run (BufferSet& bufs, sframes_t /*start_frame*/, sframes_t /*end_frame*/, nframes_t nframes)
 {
        if (_active || _pending_active) {
 
@@ -633,7 +633,7 @@ PluginInsert::can_support_io_configuration (const ChanCount& in, ChanCount& out)
  * (private helper)
  */
 int32_t
-PluginInsert::count_for_configuration (ChanCount in, ChanCount out) const
+PluginInsert::count_for_configuration (ChanCount in, ChanCount /*out*/) const
 {
        if (_plugins.front()->reconfigurable_io()) {
                /* plugin has flexible I/O, so the answer is always 1 */
index 87282037942d2db7ea253c5b13f4beae0f2a1efa..44974a71994dbfe7da367575900758b27786d83c 100644 (file)
@@ -213,7 +213,7 @@ PluginManager::add_ladspa_directory (string path)
        return -1;
 }
 
-static bool ladspa_filter (const string& str, void *arg)
+static bool ladspa_filter (const string& str, void */*arg*/)
 {
        /* Not a dotfile, has a prefix before a period, suffix is "so" */
        
@@ -221,7 +221,7 @@ static bool ladspa_filter (const string& str, void *arg)
 }
 
 int
-PluginManager::ladspa_discover_from_path (string path)
+PluginManager::ladspa_discover_from_path (string /*path*/)
 {
        PathScanner scanner;
        vector<string *> *plugin_objects;
@@ -240,7 +240,7 @@ PluginManager::ladspa_discover_from_path (string path)
        return ret;
 }
 
-static bool rdf_filter (const string &str, void *arg)
+static bool rdf_filter (const string &str, void */*arg*/)
 {
        return str[0] != '.' && 
                   ((str.find(".rdf")  == (str.length() - 4)) ||
index 1754e24b5e39c86de528ef8931a4c115cf3bb128..1f90a0761b04838b9bfbcb93bc6126fca79c18da 100644 (file)
@@ -347,7 +347,7 @@ Region::~Region ()
 }
 
 void
-Region::copy_stuff (boost::shared_ptr<const Region> other, nframes_t offset, nframes_t length, const string& name, layer_t layer, Flag flags)
+Region::copy_stuff (boost::shared_ptr<const Region> other, nframes_t /*offset*/, nframes_t length, const string& name, layer_t layer, Flag flags)
 {
        _frozen = 0;
        _pending_changed = Change (0);
@@ -429,7 +429,7 @@ Region::set_name (const std::string& str)
 }
 
 void
-Region::set_length (nframes_t len, void *src)
+Region::set_length (nframes_t len, void */*src*/)
 {
        //cerr << "Region::set_length() len = " << len << endl;
        if (_flags & Locked) {
@@ -567,7 +567,7 @@ Region::update_position_after_tempo_map_change ()
 }
 
 void
-Region::set_position (nframes_t pos, void *src)
+Region::set_position (nframes_t pos, void */*src*/)
 {
        if (!can_move()) {
                return;
@@ -609,7 +609,7 @@ Region::set_position_internal (nframes_t pos, bool allow_bbt_recompute)
 }
 
 void
-Region::set_position_on_top (nframes_t pos, void *src)
+Region::set_position_on_top (nframes_t pos, void */*src*/)
 {
        if (_flags & Locked) {
                return;
@@ -645,7 +645,7 @@ Region::recompute_position_from_lock_style ()
 }
                
 void
-Region::nudge_position (nframes64_t n, void *src)
+Region::nudge_position (nframes64_t n, void */*src*/)
 {
        if (_flags & Locked) {
                return;
@@ -684,7 +684,7 @@ Region::set_ancestral_data (nframes64_t s, nframes64_t l, float st, float sh)
 }
 
 void
-Region::set_start (nframes_t pos, void *src)
+Region::set_start (nframes_t pos, void */*src*/)
 {
        if (_flags & (Locked|PositionLocked)) {
                return;
@@ -710,7 +710,7 @@ Region::set_start (nframes_t pos, void *src)
 }
 
 void
-Region::trim_start (nframes_t new_position, void *src)
+Region::trim_start (nframes_t new_position, void */*src*/)
 {
        if (_flags & (Locked|PositionLocked)) {
                return;
@@ -797,7 +797,7 @@ Region::trim_front (nframes_t new_position, void *src)
 }
 
 void
-Region::trim_end (nframes_t new_endpoint, void *src)
+Region::trim_end (nframes_t new_endpoint, void */*src*/)
 {
        if (_flags & Locked) {
                return;
@@ -827,7 +827,7 @@ Region::trim_to (nframes_t position, nframes_t length, void *src)
 }
 
 void
-Region::trim_to_internal (nframes_t position, nframes_t length, void *src)
+Region::trim_to_internal (nframes_t position, nframes_t length, void */*src*/)
 {
        int32_t start_shift;
        nframes_t new_start;
@@ -1099,7 +1099,7 @@ Region::set_layer (layer_t l)
 }
 
 XMLNode&
-Region::state (bool full_state)
+Region::state (bool /*full_state*/)
 {
        XMLNode *node = new XMLNode ("Region");
        char buf[64];
@@ -1362,7 +1362,7 @@ Region::freeze ()
 }
 
 void
-Region::thaw (const string& why)
+Region::thaw (const string& /*why*/)
 {
        Change what_changed = Change (0);
 
index 26c0cc6616b0be7af4d99dfd038c332feec76e36..73323b4acad02cbda801e1b4073a080df251db2c 100644 (file)
@@ -321,7 +321,7 @@ Route::set_gain (gain_t val, void *src)
 void
 Route::process_output_buffers (BufferSet& bufs,
                               sframes_t start_frame, sframes_t end_frame, nframes_t nframes,
-                              bool with_processors, int declick)
+                              bool /*with_processors*/, int declick)
 {
        bool monitor;
 
@@ -1599,7 +1599,7 @@ Route::set_state (const XMLNode& node)
 }
 
 int
-Route::_set_state (const XMLNode& node, bool call_base)
+Route::_set_state (const XMLNode& node, bool /*call_base*/)
 {
 
        XMLNodeList nlist;
@@ -1958,7 +1958,7 @@ Route::release_return_buffer () const
 }
 
 int
-Route::listen_via (boost::shared_ptr<Route> route, Placement placement, bool active, bool aux)
+Route::listen_via (boost::shared_ptr<Route> route, Placement placement, bool /*active*/, bool aux)
 {
        vector<string> ports;
        vector<string>::const_iterator i;
@@ -2103,7 +2103,7 @@ Route::feeds (boost::shared_ptr<Route> other)
 }
 
 void
-Route::handle_transport_stopped (bool abort_ignored, bool did_locate, bool can_flush_processors)
+Route::handle_transport_stopped (bool /*abort_ignored*/, bool did_locate, bool can_flush_processors)
 {
        nframes_t now = _session.transport_frame();
 
@@ -2129,7 +2129,7 @@ Route::handle_transport_stopped (bool abort_ignored, bool did_locate, bool can_f
 }
 
 void
-Route::input_change_handler (IOChange change, void *src)
+Route::input_change_handler (IOChange change, void * /*src*/)
 {
        if ((change & ConfigurationChanged)) {
                configure_processors (0);
@@ -2137,7 +2137,7 @@ Route::input_change_handler (IOChange change, void *src)
 }
 
 void
-Route::output_change_handler (IOChange change, void *src)
+Route::output_change_handler (IOChange change, void * /*src*/)
 {
        if ((change & ConfigurationChanged)) {
                
@@ -2159,7 +2159,7 @@ Route::pans_required () const
 
 int 
 Route::no_roll (nframes_t nframes, sframes_t start_frame, sframes_t end_frame,  
-               bool session_state_changing, bool can_record, bool rec_monitors_input)
+               bool session_state_changing, bool /*can_record*/, bool /*rec_monitors_input*/)
 {
        if (n_outputs().n_total() == 0) {
                return 0;
@@ -2205,7 +2205,7 @@ Route::check_initial_delay (nframes_t nframes, nframes_t& transport_frame)
 
 int
 Route::roll (nframes_t nframes, sframes_t start_frame, sframes_t end_frame, int declick,
-            bool can_record, bool rec_monitors_input)
+            bool /*can_record*/, bool /*rec_monitors_input*/)
 {
        {
                // automation snapshot can also be called from the non-rt context
@@ -2240,8 +2240,8 @@ Route::roll (nframes_t nframes, sframes_t start_frame, sframes_t end_frame, int
 }
 
 int
-Route::silent_roll (nframes_t nframes, sframes_t start_frame, sframes_t end_frame
-                   bool can_record, bool rec_monitors_input)
+Route::silent_roll (nframes_t nframes, sframes_t /*start_frame*/, sframes_t /*end_frame*/
+                   bool /*can_record*/, bool /*rec_monitors_input*/)
 {
        silence (nframes);
        return 0;
@@ -2497,7 +2497,7 @@ Route::set_pending_declick (int declick)
  */
 
 void
-Route::shift (nframes64_t pos, nframes64_t frames)
+Route::shift (nframes64_t /*pos*/, nframes64_t /*frames*/)
 {
 #ifdef THIS_NEEDS_FIXING_FOR_V3
 
index 9eb090f02a296cd8324632458598ca841d6f2a66..ba4e6db37d21c0d11acf65411aaec398880d7f1e 100644 (file)
@@ -1064,7 +1064,7 @@ Session::set_auto_loop_location (Location* location)
 }
 
 void
-Session::locations_added (Location* ignored)
+Session::locations_added (Location *)
 {
        set_dirty ();
 }
@@ -1355,7 +1355,7 @@ Session::set_block_size (nframes_t nframes)
 }
 
 void
-Session::set_default_fade (float steepness, float fade_msecs)
+Session::set_default_fade (float /*steepness*/, float /*fade_msecs*/)
 {
 #if 0
        nframes_t fade_frames;
@@ -2362,13 +2362,13 @@ Session::remove_route (shared_ptr<Route> route)
 }
 
 void
-Session::route_mute_changed (void* src)
+Session::route_mute_changed (void* /*src*/)
 {
        set_dirty ();
 }
 
 void
-Session::route_listen_changed (void* src, boost::weak_ptr<Route> wpr)
+Session::route_listen_changed (void* /*src*/, boost::weak_ptr<Route> wpr)
 {
        boost::shared_ptr<Route> route = wpr.lock();
        if (!route) {
@@ -2384,7 +2384,7 @@ Session::route_listen_changed (void* src, boost::weak_ptr<Route> wpr)
 }
 
 void
-Session::route_solo_changed (void* src, boost::weak_ptr<Route> wpr)
+Session::route_solo_changed (void* /*src*/, boost::weak_ptr<Route> wpr)
 {
        if (solo_update_disabled) {
                // We know already
@@ -3810,7 +3810,7 @@ Session::bundle_by_name (string name) const
 }
 
 void
-Session::tempo_map_changed (Change ignored)
+Session::tempo_map_changed (Change)
 {
        clear_clicks ();
 
@@ -4095,7 +4095,7 @@ Session::freeze (InterThreadInfo& itt)
 
 boost::shared_ptr<Region>
 Session::write_one_track (AudioTrack& track, nframes_t start, nframes_t end,   
-                         bool overwrite, vector<boost::shared_ptr<Source> >& srcs, 
+                         bool /*overwrite*/, vector<boost::shared_ptr<Source> >& srcs, 
                          InterThreadInfo& itt, bool enable_processing)
 {
        boost::shared_ptr<Region> result;
index 6c0c48f50ec18b6f3e1585f6bae61ab244671872..990246aa7ca6ace4af41721dc1958fb9e4a60f5f 100644 (file)
@@ -249,7 +249,7 @@ Session::set_mmc_port (string port_tag)
 }
 
 int
-Session::set_midi_port (string port_tag)
+Session::set_midi_port (string /*port_tag*/)
 {
 #if 0
        if (port_tag.length() == 0) {
@@ -492,7 +492,7 @@ Session::setup_midi_control ()
 }
 
 void
-Session::spp_start (Parser& ignored, nframes_t timestamp)
+Session::spp_start (Parser &, nframes_t /*timestamp*/)
 {
        if (Config->get_mmc_control() && (Config->get_slave_source() != MTC)) {
                request_transport_speed (1.0);
@@ -506,7 +506,7 @@ Session::spp_continue (Parser& ignored, nframes_t timestamp)
 }
 
 void
-Session::spp_stop (Parser& ignored, nframes_t timestamp)
+Session::spp_stop (Parser&, nframes_t /*timestamp*/)
 {
        if (Config->get_mmc_control()) {
                request_stop ();
@@ -537,7 +537,7 @@ Session::midi_clock_stop (Parser& ignored, nframes_t timestamp)
 */
 
 void
-Session::mmc_deferred_play (MIDI::MachineControl &mmc)
+Session::mmc_deferred_play (MIDI::MachineControl &/*mmc*/)
 {
        if (Config->get_mmc_control() && (Config->get_slave_source() != MTC)) {
                request_transport_speed (1.0);
@@ -545,7 +545,7 @@ Session::mmc_deferred_play (MIDI::MachineControl &mmc)
 }
 
 void
-Session::mmc_record_pause (MIDI::MachineControl &mmc)
+Session::mmc_record_pause (MIDI::MachineControl &/*mmc*/)
 {
        if (Config->get_mmc_control()) {
                maybe_enable_record();
@@ -553,7 +553,7 @@ Session::mmc_record_pause (MIDI::MachineControl &mmc)
 }
 
 void
-Session::mmc_record_strobe (MIDI::MachineControl &mmc)
+Session::mmc_record_strobe (MIDI::MachineControl &/*mmc*/)
 {
        if (!Config->get_mmc_control())
                return;
@@ -581,7 +581,7 @@ Session::mmc_record_strobe (MIDI::MachineControl &mmc)
 }
 
 void
-Session::mmc_record_exit (MIDI::MachineControl &mmc)
+Session::mmc_record_exit (MIDI::MachineControl &/*mmc*/)
 {
        if (Config->get_mmc_control()) {
                disable_record (false);
@@ -589,7 +589,7 @@ Session::mmc_record_exit (MIDI::MachineControl &mmc)
 }
 
 void
-Session::mmc_stop (MIDI::MachineControl &mmc)
+Session::mmc_stop (MIDI::MachineControl &/*mmc*/)
 {
        if (Config->get_mmc_control()) {
                request_stop ();
@@ -597,7 +597,7 @@ Session::mmc_stop (MIDI::MachineControl &mmc)
 }
 
 void
-Session::mmc_pause (MIDI::MachineControl &mmc)
+Session::mmc_pause (MIDI::MachineControl &/*mmc*/)
 {
        if (Config->get_mmc_control()) {
 
@@ -617,7 +617,7 @@ Session::mmc_pause (MIDI::MachineControl &mmc)
 static bool step_queued = false;
 
 void
-Session::mmc_step (MIDI::MachineControl &mmc, int steps)
+Session::mmc_step (MIDI::MachineControl &/*mmc*/, int steps)
 {
        if (!Config->get_mmc_control()) {
                return;
@@ -668,7 +668,7 @@ Session::mmc_step (MIDI::MachineControl &mmc, int steps)
 }
 
 void
-Session::mmc_rewind (MIDI::MachineControl &mmc)
+Session::mmc_rewind (MIDI::MachineControl &/*mmc*/)
 {
        if (Config->get_mmc_control()) {
                request_transport_speed(-8.0f);
@@ -676,7 +676,7 @@ Session::mmc_rewind (MIDI::MachineControl &mmc)
 }
 
 void
-Session::mmc_fast_forward (MIDI::MachineControl &mmc)
+Session::mmc_fast_forward (MIDI::MachineControl &/*mmc*/)
 {
        if (Config->get_mmc_control()) {
                request_transport_speed(8.0f);
@@ -684,7 +684,7 @@ Session::mmc_fast_forward (MIDI::MachineControl &mmc)
 }
 
 void
-Session::mmc_locate (MIDI::MachineControl &mmc, const MIDI::byte* mmc_tc)
+Session::mmc_locate (MIDI::MachineControl &/*mmc*/, const MIDI::byte* mmc_tc)
 {
        if (!Config->get_mmc_control()) {
                return;
@@ -725,7 +725,7 @@ Session::mmc_locate (MIDI::MachineControl &mmc, const MIDI::byte* mmc_tc)
 }
 
 void
-Session::mmc_shuttle (MIDI::MachineControl &mmc, float speed, bool forw)
+Session::mmc_shuttle (MIDI::MachineControl &/*mmc*/, float speed, bool forw)
 {
        if (!Config->get_mmc_control()) {
                return;
@@ -778,7 +778,7 @@ Session::change_midi_ports ()
  * the first one with the beginning of this cycle as the new start point.
  */
 int
-Session::send_full_time_code(nframes_t nframes)
+Session::send_full_time_code(nframes_t /*nframes*/)
 {
        /* This function could easily send at a given frame offset, but would
         * that be useful?  Does ardour do sub-block accurate locating? [DR] */
index 0946acfadedf33d2d30c85e483230c161812d6c7..32ef8f58c5cd5298edad65099c8c6250a2a97cbc 100644 (file)
@@ -1432,7 +1432,7 @@ Session::XMLRegionFactory (const XMLNode& node, bool full)
 }
 
 boost::shared_ptr<AudioRegion>
-Session::XMLAudioRegionFactory (const XMLNode& node, bool full)
+Session::XMLAudioRegionFactory (const XMLNode& node, bool /*full*/)
 {
        const XMLProperty* prop;
        boost::shared_ptr<Source> source;
@@ -1551,7 +1551,7 @@ Session::XMLAudioRegionFactory (const XMLNode& node, bool full)
 }
 
 boost::shared_ptr<MidiRegion>
-Session::XMLMidiRegionFactory (const XMLNode& node, bool full)
+Session::XMLMidiRegionFactory (const XMLNode& node, bool /*full*/)
 {
        const XMLProperty* prop;
        boost::shared_ptr<Source> source;
@@ -2061,7 +2061,7 @@ Session::auto_save()
 }
 
 static bool
-state_file_filter (const string &str, void *arg)
+state_file_filter (const string &str, void */*arg*/)
 {
        return (str.length() > strlen(statefile_suffix) &&
                str.find (statefile_suffix) == (str.length() - strlen (statefile_suffix)));
@@ -2266,13 +2266,13 @@ Session::set_global_record_enable (GlobalRouteBooleanState s, void* src)
 }
 
 static bool
-accept_all_non_peak_files (const string& path, void *arg)
+accept_all_non_peak_files (const string& path, void */*arg*/)
 {
        return (path.length() > 5 && path.find (peakfile_suffix) != (path.length() - 5));
 }
 
 static bool
-accept_all_state_files (const string& path, void *arg)
+accept_all_state_files (const string& path, void */*arg*/)
 {
        return (path.length() > 7 && path.find (".ardour") == (path.length() - 7));
 }
index 3126287c6bee0018eb95b628674e3643382c32c9..0363c48339507ba26c3f2e7ea692fa476adf40c0 100644 (file)
@@ -485,10 +485,10 @@ Session::jack_sync_callback (jack_transport_state_t state,
 }
 
 void
-Session::jack_timebase_callback (jack_transport_state_t state,
-                                nframes_t nframes,
+Session::jack_timebase_callback (jack_transport_state_t /*state*/,
+                                nframes_t /*nframes*/,
                                 jack_position_t* pos,
-                                int new_position)
+                                int /*new_position*/)
 {
        BBT_Time bbt;
 
@@ -565,7 +565,7 @@ Session::jack_timebase_callback (jack_transport_state_t state,
 }
 
 ARDOUR::nframes_t
-Session::convert_to_frames_at (nframes_t position, AnyTime const & any)
+Session::convert_to_frames_at (nframes_t /*position*/, AnyTime const & any)
 {
        double secs;
        
index 71d3342dbc83c509553d0192a507b244b008bbac..3328eddb23e916290822a1a1d10db4f9032fd7a3 100644 (file)
@@ -42,7 +42,7 @@ SndFileImportableSource::samplerate() const
 }
 
 void
-SndFileImportableSource::seek (nframes_t pos)
+SndFileImportableSource::seek (nframes_t /*pos*/)
 {
        sf_seek (in.get(), 0, SEEK_SET);
 }
index df35dbe387ed8fea18bed39cb7bb9ec61a10ef51..f84c0ae14b65dcb8f4511bc8f49149dd2a4f27db 100644 (file)
@@ -512,7 +512,7 @@ SndFileSource::flush_header ()
 }
 
 int
-SndFileSource::setup_broadcast_info (sframes_t when, struct tm& now, time_t tnow)
+SndFileSource::setup_broadcast_info (sframes_t /*when*/, struct tm& now, time_t /*tnow*/)
 {
        if (!writable()) {
                warning << string_compose (_("attempt to store broadcast info in a non-writable audio file source (%1)"), _path) << endmsg;
index daf133fa05092c072db376d7460f065540e66cfc..a0daca713d5356afb17f531da135b1c2e18765b1 100644 (file)
@@ -64,7 +64,7 @@ user_route_template_directory ()
 }
 
 static bool
-template_filter (const string &str, void *arg)
+template_filter (const string &str, void */*arg*/)
 {
        cerr << "Checking into " << str << " using " << template_suffix << endl;
        return (str.length() > strlen(template_suffix) &&
index 4fe8fab520e3894e0830d06935faf310e61771b2..e55474588af00b643d4928cbae8d594e9e7445b5 100644 (file)
@@ -119,7 +119,7 @@ void MidiClockTicker::transport_looped()
        _last_tick = loop_location->start() - elapsed_since_last_tick;
 }
 
-void MidiClockTicker::tick(const nframes_t& transport_frames, const BBT_Time& transport_bbt, const SMPTE::Time& transport_smpt)
+void MidiClockTicker::tick(const nframes_t& transport_frames, const BBT_Time& /*transport_bbt*/, const SMPTE::Time& /*transport_smpt*/)
 {
 #ifdef WITH_JACK_MIDI
        if (!Config->get_send_midi_clock() || _session == 0 || _session->transport_speed() != 1.0f)
index 5ff79098d8b90975c9bb812fea525643042eb524..64ec77b683711765c80e89886d82d78b30d37d8e 100644 (file)
@@ -235,7 +235,7 @@ Track::zero_diskstream_id_in_xml (XMLNode& node)
 
 int 
 Track::no_roll (nframes_t nframes, sframes_t start_frame, sframes_t end_frame, 
-               bool session_state_changing, bool can_record, bool rec_monitors_input)
+               bool session_state_changing, bool can_record, bool /*rec_monitors_input*/)
 {
        if (n_outputs().n_total() == 0) {
                return 0;
@@ -320,7 +320,7 @@ Track::no_roll (nframes_t nframes, sframes_t start_frame, sframes_t end_frame,
 }
 
 int
-Track::silent_roll (nframes_t nframes, sframes_t start_frame, sframes_t end_frame,  
+Track::silent_roll (nframes_t nframes, sframes_t /*start_frame*/, sframes_t /*end_frame*/,  
                    bool can_record, bool rec_monitors_input)
 {
        if (n_outputs().n_total() == 0 && _processors.empty()) {
index fc82255ef8df6df00d6d02aa16109f103c2fac14..82869de1343f8d44a4e059be19d4a90c43d74b48 100644 (file)
@@ -46,7 +46,7 @@ URIMap::uri_to_id(const char* map,
 
 uint32_t
 URIMap::uri_map_uri_to_id(LV2_URI_Map_Callback_Data callback_data,
-                          const char*               map,
+                          const char*               /*map*/,
                           const char*               uri)
 {
        // TODO: map ignored, < UINT16_MAX assumed
index dee024214304e6d56baaa6b2b2cd211fddd19dda..c4c2cd84ecb326b87428c910178289f6e101b0cf 100644 (file)
@@ -211,7 +211,7 @@ void ControlList::_x_scale (double factor)
 }
 
 void
-ControlList::reposition_for_rt_add (double when)
+ControlList::reposition_for_rt_add (double /*when*/)
 {
        _rt_insertion_point = _events.end();
 }
@@ -1254,7 +1254,7 @@ ControlList::clear (double start, double end)
 }
 
 bool
-ControlList::paste (ControlList& alist, double pos, float times)
+ControlList::paste (ControlList& alist, double pos, float /*times*/)
 {
        if (alist._events.empty()) {
                return false;
index 857f3d485f28294362ebd42d9e7d46f1082192dc..71ad02498e0cc710065ca4364230791bc54ee385 100644 (file)
@@ -379,6 +379,8 @@ expected_message_length(unsigned char status, const unsigned char *second_byte,
 static int
 extract_sysex_event(const unsigned char *buf, const size_t buffer_length, smf_event_t *event, uint32_t *len, int last_status)
 {
+       (void) last_status;
+       
        int status;
        int32_t vlq_length, message_length;
        const unsigned char *c = buf;
@@ -419,6 +421,8 @@ extract_sysex_event(const unsigned char *buf, const size_t buffer_length, smf_ev
 static int
 extract_escaped_event(const unsigned char *buf, const size_t buffer_length, smf_event_t *event, uint32_t *len, int last_status)
 {
+       (void) last_status;
+       
        int status;
        int32_t message_length, vlq_length;
        const unsigned char *c = buf;
index 2e051b5be80089b9a54a2f5da7260c7690e3e17f..b8f1bb9017198cda88dd575c4887f72945e7ff3b 100644 (file)
@@ -57,7 +57,7 @@ AutoSpin::stop_timer ()
 }
 
 gint
-AutoSpin::stop_spinning (GdkEventButton *ev)
+AutoSpin::stop_spinning (GdkEventButton */*ev*/)
 {
        need_timer = false;
        stop_timer ();
index 5dad2dd8debcdf08bbbcb8bf6fce6beb18fc8e20..60ec7e1cd6d686a69d586118d2f2c389d7b8c995 100644 (file)
@@ -258,7 +258,7 @@ BarController::mouse_control (double x, GdkWindow* window, double scaling)
 }
 
 bool
-BarController::expose (GdkEventExpose* event)
+BarController::expose (GdkEventExpose* /*event*/)
 {
        Glib::RefPtr<Gdk::Window> win (darea.get_window());
        Widget* parent;
@@ -433,7 +433,7 @@ BarController::entry_activated ()
 }
 
 bool
-BarController::entry_focus_out (GdkEventFocus* ev)
+BarController::entry_focus_out (GdkEventFocus* /*ev*/)
 {
        entry_activated ();
        return true;
@@ -454,7 +454,7 @@ BarController::set_sensitive (bool yn)
 }
 
 bool
-BarController::entry_input (double* v)
+BarController::entry_input (double* /*v*/)
 {
        return false;
 }
index 845146239dc4ae56a08301a6166f5c113bf02948..d0696b105f85c8a0d4b63e1600167ed2948d9f28 100644 (file)
@@ -107,7 +107,7 @@ BindingProxy::learning_finished ()
 
 
 bool
-BindingProxy::prompter_hiding (GdkEventAny *ev)
+BindingProxy::prompter_hiding (GdkEventAny */*ev*/)
 {
        learning_connection.disconnect ();
        if (controllable) {
index d3f02a50f86995549f0013a2cef7363a538e9eaa..15cd1cbf1a6026277d03cebfd716d84dea9492fe 100644 (file)
@@ -71,7 +71,7 @@ CellRendererPixbufToggle::activate_vfunc(GdkEvent*, Gtk::Widget&, const Glib::us
 
 
 void 
-CellRendererPixbufToggle::render_vfunc (const Glib::RefPtr<Gdk::Drawable>& window, Gtk::Widget& widget, const Gdk::Rectangle& background_area, const Gdk::Rectangle& cell_area, const Gdk::Rectangle& expose_area, Gtk::CellRendererState flags)
+CellRendererPixbufToggle::render_vfunc (const Glib::RefPtr<Gdk::Drawable>& window, Gtk::Widget& /*widget*/, const Gdk::Rectangle& /*background_area*/, const Gdk::Rectangle& cell_area, const Gdk::Rectangle& /*expose_area*/, Gtk::CellRendererState /*flags*/)
 {
        int offset_width = 0;
        int offset_height = 0;
@@ -92,7 +92,7 @@ CellRendererPixbufToggle::render_vfunc (const Glib::RefPtr<Gdk::Drawable>& windo
 }
 
 void 
-CellRendererPixbufToggle::get_size_vfunc (Gtk::Widget& widget, const Gdk::Rectangle* cell_area, int* x_offset, int* y_offset, int* width, int* height) const
+CellRendererPixbufToggle::get_size_vfunc (Gtk::Widget& /*widget*/, const Gdk::Rectangle* /*cell_area*/, int* /*x_offset*/, int* /*y_offset*/, int* /*width*/, int* /*height*/) const
 {
 //cerr << "cell_renderer_pixbuf_toggle get_size" << endl;
 
index 3ab7ea883cf3607c390c48e3d7cc5b0f19e52bd0..dc9eb3943302c91e44560c020d73d6ec7acd4204 100644 (file)
@@ -81,7 +81,7 @@ ClickBox::button_release_handler (GdkEventButton* ev)
 
 void
 ClickBox::default_printer (char buf[32], Gtk::Adjustment &adj, 
-                              void *ignored)
+                              void *)
 {
        sprintf (buf, "%.2f", adj.get_value());
 }
@@ -104,9 +104,8 @@ ClickBox::set_label ()
 }
 
 void
-ClickBox::style_changed (const Glib::RefPtr<Gtk::Style>& ignored)
+ClickBox::style_changed (const Glib::RefPtr<Gtk::Style>&)
 {
-
        layout->context_changed (); 
        layout->get_pixel_size (twidth, theight);
 }
index bdd8919d36411343b97fd8a71e4f84407a76f3e3..4bb6e81d00b94bd3e945bc08fda567f5a7545069 100644 (file)
@@ -551,7 +551,7 @@ FastMeter::queue_vertical_redraw (const Glib::RefPtr<Gdk::Window>& win, float ol
 }
 
 void
-FastMeter::queue_horizontal_redraw (const Glib::RefPtr<Gdk::Window>& win, float old_level)
+FastMeter::queue_horizontal_redraw (const Glib::RefPtr<Gdk::Window>& /*win*/, float /*old_level*/)
 {
        /* XXX OPTIMIZE (when we have some horizontal meters) */
        queue_draw ();
index bf85333541c0266050d1076f393424c2d55ae354..cba5f533773c93d104d7948e42c3621eedd64ec5 100644 (file)
@@ -338,7 +338,7 @@ UI::idle_add (int (*func)(void *), void *arg)
 /* END abstract_ui interfaces */
 
 void
-UI::signal_pipe_callback (void *arg, int fd, GdkInputCondition cond)
+UI::signal_pipe_callback (void *arg, int fd, GdkInputCondition /*cond*/)
 {
        char buf[256];
        
@@ -518,7 +518,7 @@ UI::toggle_errors ()
 }
 
 void
-UI::display_message (const char *prefix, gint prefix_len, RefPtr<TextBuffer::Tag> ptag, RefPtr<TextBuffer::Tag> mtag, const char *msg)
+UI::display_message (const char *prefix, gint /*prefix_len*/, RefPtr<TextBuffer::Tag> ptag, RefPtr<TextBuffer::Tag> mtag, const char *msg)
 {
        RefPtr<TextBuffer> buffer (errors->text().get_buffer());
 
@@ -616,7 +616,7 @@ UI::flush_pending ()
 }
 
 bool
-UI::just_hide_it (GdkEventAny *ev, Window *win)
+UI::just_hide_it (GdkEventAny */*ev*/, Window *win)
 {
        win->hide ();
        return true;
@@ -666,7 +666,7 @@ UI::color_selection_done (bool status)
 }
 
 bool
-UI::color_selection_deleted (GdkEventAny *ev)
+UI::color_selection_deleted (GdkEventAny */*ev*/)
 {
        Main::quit ();
        return true;
index 5970fe2d5fffc5cf7dd79257ac61c99cb922f77e..9c9c4c18b99fb03fe1f9829b3c9db0966fb31276 100644 (file)
@@ -74,7 +74,7 @@ class BarController : public Gtk::Frame
        Gtk::SpinButton     spinner;
        bool                use_parent;
 
-       virtual std::string get_label (int& x) {
+       virtual std::string get_label (int& /*x*/) {
                return "";
        }
        
index 2d586d0317dce697f429484fa23a55794604fc98..199c087c26da64c717717ac5cc93cece052c4a58 100644 (file)
@@ -111,7 +111,7 @@ PopUp::touch ()
 }
 
 gint
-PopUp::button_click (GdkEventButton *ev)
+PopUp::button_click (GdkEventButton */*ev*/)
 {
        remove ();
        return TRUE;
@@ -131,7 +131,7 @@ PopUp::set_name (string name)
 }
 
 bool
-PopUp::on_delete_event (GdkEventAny* ev)
+PopUp::on_delete_event (GdkEventAny* /*ev*/)
 {
        hide();
 
index 0ff97103380becd0b74a9191a55425b71fc6bbb5..5eab2614c829b0e16ba61c621df39d7fbeda349e 100644 (file)
@@ -75,7 +75,7 @@ Prompter::init ()
 }      
 
 void
-Prompter::change_labels (string okstr, string cancelstr)
+Prompter::change_labels (string /*okstr*/, string /*cancelstr*/)
 {
        // dynamic_cast<Gtk::Label*>(ok.get_child())->set_text (okstr);
        // dynamic_cast<Gtk::Label*>(cancel.get_child())->set_text (cancelstr);
index 4eee6a6f36df944a088dfa2403bb91186ae78b2c..3947ed8096a0bc4825a497638991f0a631548bc0 100644 (file)
@@ -30,7 +30,7 @@ using namespace PBD;
 
 SliderController::SliderController (Glib::RefPtr<Gdk::Pixbuf> image,
                                    Gtk::Adjustment *adj,  int orientation,
-                                   bool with_numeric)
+                                   bool /*with_numeric*/)
 
        : PixFader (image, *adj, orientation),
          spin (*adj, 0, 2)
index be3bfe4113fbdedfb01f11d4829ab88ce8bae541..aad14308a40f8ad5c6b81dd2384fbd7348cea691 100644 (file)
@@ -116,7 +116,7 @@ TearOff::set_visible (bool yn)
 }
 
 gint
-TearOff::tearoff_click (GdkEventButton* ev)
+TearOff::tearoff_click (GdkEventButton* /*ev*/)
 {
        if (_can_be_torn_off) {
                remove (contents);
@@ -132,7 +132,7 @@ TearOff::tearoff_click (GdkEventButton* ev)
 }
 
 gint
-TearOff::close_click (GdkEventButton* ev)
+TearOff::close_click (GdkEventButton* /*ev*/)
 {
        window_box.remove (contents);
        pack_start (contents);
@@ -162,7 +162,7 @@ TearOff::window_button_press (GdkEventButton* ev)
 }
 
 gint
-TearOff::window_button_release (GdkEventButton* ev)
+TearOff::window_button_release (GdkEventButton* /*ev*/)
 {
        dragging = false;
        own_window.remove_modal_grab();
@@ -170,7 +170,7 @@ TearOff::window_button_release (GdkEventButton* ev)
 }
 
 gint
-TearOff::window_delete_event (GdkEventAny* ev)
+TearOff::window_delete_event (GdkEventAny* /*ev*/)
 {
        return close_click(0);
 }
index 65d7736c1bf9c83a60b5c4e89fb804c9987c52cc..92be375c089512c8008f06b11ee29d03812362eb 100644 (file)
@@ -275,7 +275,7 @@ JACK_MidiPort::get_state () const
 }
 
 void
-JACK_MidiPort::set_state (const XMLNode& node)
+JACK_MidiPort::set_state (const XMLNode& /*node*/)
 {
 }
 
index 8f942cf970fe5fef123d4ac5496655cb53b798be..986ff5f0e078dd9b7da614077e8fc399bdab9533 100644 (file)
@@ -52,7 +52,7 @@ class FD_MidiPort : public Port
        int _fd;
        virtual void open (const Port::Descriptor&);
 
-       virtual int write (byte *msg, size_t msglen, timestamp_t ignored) {
+       virtual int write (byte *msg, size_t msglen, timestamp_t) {
                int nwritten;
                
                if ((_mode & O_ACCMODE) == O_RDONLY) {
index 0a43b9c90089cb2397db3c2392a676a28a004a8c..f19c913644cdac8fcb13b6cf07541e3d132356fb 100644 (file)
@@ -76,7 +76,7 @@ Channel::connect_output_signals ()
 }
 
 void
-Channel::reset (timestamp_t timestamp, nframes_t nframes, bool notes_off)
+Channel::reset (timestamp_t timestamp, nframes_t /*nframes*/, bool notes_off)
 {
        _program_number = _channel_number;
        _bank_number = 0;
@@ -115,8 +115,7 @@ Channel::reset (timestamp_t timestamp, nframes_t nframes, bool notes_off)
 }
 
 void
-Channel::process_note_off (Parser &parser, EventTwoBytes *tb) 
-
+Channel::process_note_off (Parser & /*parser*/, EventTwoBytes *tb) 
 {
        _last_note_off = tb->note_number;
        _last_off_velocity = tb->velocity;
@@ -127,8 +126,7 @@ Channel::process_note_off (Parser &parser, EventTwoBytes *tb)
 }
 
 void
-Channel::process_note_on (Parser &parser, EventTwoBytes *tb) 
-
+Channel::process_note_on (Parser & /*parser*/, EventTwoBytes *tb) 
 {
        _last_note_on = tb->note_number;
        _last_on_velocity = tb->velocity;
@@ -136,8 +134,7 @@ Channel::process_note_on (Parser &parser, EventTwoBytes *tb)
 }
 
 void
-Channel::process_controller (Parser &parser, EventTwoBytes *tb) 
-
+Channel::process_controller (Parser & /*parser*/, EventTwoBytes *tb) 
 {
        unsigned short cv;
 
@@ -216,36 +213,31 @@ Channel::process_controller (Parser &parser, EventTwoBytes *tb)
 }
 
 void
-Channel::process_program_change (Parser &parser, byte val) 
-
+Channel::process_program_change (Parser & /*parser*/, byte val) 
 {
        _program_number = val;
 }
 
 void
-Channel::process_chanpress (Parser &parser, byte val) 
-
+Channel::process_chanpress (Parser & /*parser*/, byte val) 
 {
        _chanpress = val;
 }
 
 void
-Channel::process_polypress (Parser &parser, EventTwoBytes *tb) 
-
+Channel::process_polypress (Parser & /*parser*/, EventTwoBytes *tb) 
 {
        _polypress[tb->note_number] = tb->value;
 }
 
 void
-Channel::process_pitchbend (Parser &parser, pitchbend_t val) 
-
+Channel::process_pitchbend (Parser & /*parser*/, pitchbend_t val) 
 {
        _pitch_bend = val;
 }
 
 void
-Channel::process_reset (Parser &parser) 
-
+Channel::process_reset (Parser & /*parser*/) 
 {
        reset (0, 1);
 }
index f8c8eb1a2095166eeb2f549f43ca814bd1d738e6..1980ac508b60ce9419236ebaf86c795bbe5fbdea 100644 (file)
@@ -124,7 +124,11 @@ PortFactory::ignore_duplicate_devices (Port::Type type)
 }
 
 int
+#if defined (WITH_ALSA) || defined (WITH_COREMIDI)
 PortFactory::get_known_ports (vector<PortSet>& ports)
+#else
+PortFactory::get_known_ports (vector<PortSet>&)
+#endif 
 {
        int n = 0;
 #ifdef WITH_ALSA
index 2222575678aa9f5c77b91c0e956e8556d8329da3..8f416a9717e38fde9bc8ff50ffa16f26c724ea13 100644 (file)
@@ -139,7 +139,7 @@ Parser::~Parser ()
 }
 
 void
-Parser::trace_event (Parser &p, byte *msg, size_t len)
+Parser::trace_event (Parser &, byte *msg, size_t len)
 {
        eventType type;
        ostream *o;
index 9df6e7e7d9dc8603be3f32366024f7a25ed4ecdc..b7ffcc7b484f84d1d349b17081655a32e888d23f 100644 (file)
@@ -166,13 +166,13 @@ Port::get_state () const
 }
 
 void
-Port::set_state (const XMLNode& node)
+Port::set_state (const XMLNode& /*node*/)
 {
        // relax
 }
 
 void
-Port::gtk_read_callback (void *ptr, int fd, int cond)
+Port::gtk_read_callback (void *ptr, int /*fd*/, int /*cond*/)
 {
        byte buf[64];
        ((Port *)ptr)->read (buf, sizeof (buf));
index 5ec1acd5d91bf69391bc9eb1fa4c75e6f71be0d7..c16b243a16689dd2718a9d049150533a5e69c01d 100644 (file)
@@ -192,9 +192,9 @@ static void build_mmc_cmd_map ()
 }
 
 
-MachineControl::MachineControl (Port &p, float version,
-                               CommandSignature &csig,
-                               ResponseSignature &rsig)
+MachineControl::MachineControl (Port &p, float /*version*/,
+                               CommandSignature & /*csig*/,
+                               ResponseSignature & /*rsig*/)
 
        : _port (p)
 {
@@ -247,7 +247,7 @@ MachineControl::is_mmc (byte *sysex_buf, size_t len)
 }
 
 void
-MachineControl::process_mmc_message (Parser &p, byte *msg, size_t len)
+MachineControl::process_mmc_message (Parser &, byte *msg, size_t len)
 
 {
        size_t skiplen;
@@ -478,7 +478,7 @@ MachineControl::do_masked_write (byte *msg, size_t len)
 }
 
 void
-MachineControl::write_track_record_ready (byte *msg, size_t len)
+MachineControl::write_track_record_ready (byte *msg, size_t /*len*/)
 
 {
        size_t n;
@@ -564,7 +564,7 @@ MachineControl::write_track_record_ready (byte *msg, size_t len)
 }
 
 int
-MachineControl::do_locate (byte *msg, size_t msglen)
+MachineControl::do_locate (byte *msg, size_t /*msglen*/)
 
 {
        if (msg[2] == 0) {
@@ -580,7 +580,7 @@ MachineControl::do_locate (byte *msg, size_t msglen)
 }
 
 int
-MachineControl::do_step (byte *msg, size_t msglen)
+MachineControl::do_step (byte *msg, size_t /*msglen*/)
 {
        int steps = msg[2] & 0x3f;
 
@@ -593,7 +593,7 @@ MachineControl::do_step (byte *msg, size_t msglen)
 }
 
 int
-MachineControl::do_shuttle (byte *msg, size_t msglen)
+MachineControl::do_shuttle (byte *msg, size_t /*msglen*/)
 
 {
        size_t forward;
index e3917081759011a255ed5b63a6f9e9b8481605c5..35182042d32aa53e01ee0f31de420c41b5ec1f66 100644 (file)
@@ -210,7 +210,7 @@ PathScanner::find_first (const string &dirpath,
 string *
 PathScanner::find_first (const string &dirpath,
                         bool (*filter)(const string &, void *),
-                        void *arg,
+                        void * /*arg*/,
                         bool match_fullpath,
                         bool return_fullpath)
 {
index 0007e04fd3ae3a2e825829aff3de82cf193995b7..28b0b37cb92aca2934b0e30567cedc2f64b3d5b8 100644 (file)
@@ -84,7 +84,7 @@ class IgnorableControllable : public Controllable
     IgnorableControllable () : PBD::Controllable ("ignoreMe") {}
     ~IgnorableControllable () {}
     
-    void set_value (float v){}
+    void set_value (float /*v*/) {}
     float get_value () const { return 0.0; }
 };
 
index bf4c5ba26d053e57d14675b5d5eff503a43b096b..9eb74e4a30873111448a3895bde276cc2db9dd36 100644 (file)
@@ -58,7 +58,7 @@ PBD::stacktrace (std::ostream& out, int levels)
 #else
 
 void
-PBD::stacktrace (std::ostream& out, int levels)
+PBD::stacktrace (std::ostream& out, int /*levels*/)
 {
        out << "stack tracing is not enabled on this platform" << std::endl;
 }
index 71108ad1c1c5ac4a0cf2d4db6b87a0277ad961f2..2ede70d283c03cc29ca521a9595d4a129172b092 100644 (file)
@@ -38,7 +38,7 @@ HighFrequencyAudioCurve::setWindowSize(size_t newSize)
 }
 
 float
-HighFrequencyAudioCurve::process(const float *R__ mag, size_t increment)
+HighFrequencyAudioCurve::process(const float *R__ mag, size_t /*increment*/)
 {
     float result = 0.0;
 
@@ -52,7 +52,7 @@ HighFrequencyAudioCurve::process(const float *R__ mag, size_t increment)
 }
 
 float
-HighFrequencyAudioCurve::processDouble(const double *R__ mag, size_t increment)
+HighFrequencyAudioCurve::processDouble(const double *R__ mag, size_t /*increment*/)
 {
     float result = 0.0;
 
index cb03afc14192a2acdcb594696097cbaaf17a1aa0..aced9e08c27623f456dce0c0606b1ea4160f2d6b 100644 (file)
@@ -57,7 +57,7 @@ PercussiveAudioCurve::setWindowSize(size_t newSize)
 }
 
 float
-PercussiveAudioCurve::process(const float *R__ mag, size_t increment)
+PercussiveAudioCurve::process(const float *R__ mag, size_t /*increment*/)
 {
     static float threshold = powf(10.f, 0.15f); // 3dB rise in square of magnitude
     static float zeroThresh = powf(10.f, -8);
@@ -82,7 +82,7 @@ PercussiveAudioCurve::process(const float *R__ mag, size_t increment)
 }
 
 float
-PercussiveAudioCurve::processDouble(const double *R__ mag, size_t increment)
+PercussiveAudioCurve::processDouble(const double *R__ mag, size_t /*increment*/)
 {
     Profiler profiler("PercussiveAudioCurve::process");
 
index e391e39b78effb458c3f64e4b1d3cf8f28ccbc92..7d98828915bd92d5319d3ebcec14310d01f1615a 100644 (file)
@@ -52,7 +52,7 @@ SpectralDifferenceAudioCurve::setWindowSize(size_t newSize)
 }
 
 float
-SpectralDifferenceAudioCurve::process(const float *R__ mag, size_t increment)
+SpectralDifferenceAudioCurve::process(const float *R__ mag, size_t /*increment*/)
 {
     float result = 0.0;
 
@@ -66,7 +66,7 @@ SpectralDifferenceAudioCurve::process(const float *R__ mag, size_t increment)
 }
 
 float
-SpectralDifferenceAudioCurve::processDouble(const double *R__ mag, size_t increment)
+SpectralDifferenceAudioCurve::processDouble(const double *R__ mag, size_t /*increment*/)
 {
     float result = 0.0;
 
index 679115eb52f431c0928740537322905aa9d6413a..49f75b5b65f8b34ee629711d7959df64cba32dcd 100644 (file)
@@ -454,7 +454,7 @@ Mutex::trylock()
     }
 }
 
-Condition::Condition(string name) :
+Condition::Condition(string /*name*/) :
     m_locked(false)
 #ifdef DEBUG_CONDITION
     , m_name(name)
index 7de1054ad2faf98422a90a5309a70fcb9d0efd05..9efb4b299c8a0314ab586c7c4c01ee91f24f98d1 100644 (file)
@@ -44,7 +44,7 @@ class ControlProtocol : public sigc::trackable, public PBD::Stateful, public Bas
        virtual int set_active (bool yn) = 0;
        bool get_active() const { return _active; }
 
-       virtual int set_feedback (bool yn) { return 0; }
+       virtual int set_feedback (bool /*yn*/) { return 0; }
        virtual bool get_feedback () const { return false; }
 
        virtual void route_list_changed () {}
index 9001b0d823d514d1e531db16d510a9dc2a6310ad..a4987ee9d2f891f90f1154662ddc2e23f7007d27 100644 (file)
@@ -77,7 +77,7 @@ GenericMidiControlProtocol::~GenericMidiControlProtocol ()
 }
 
 int
-GenericMidiControlProtocol::set_active (bool yn)
+GenericMidiControlProtocol::set_active (bool /*yn*/)
 {
        /* start/stop delivery/outbound thread */
        return 0;
index c70b5b6b6182d872e3ab59280ae68a62383e139a..c017e53d4c8883feec25ae3738c0e228ac9842d2 100644 (file)
@@ -6,7 +6,7 @@
 using namespace ARDOUR;
 
 ControlProtocol*
-new_generic_midi_protocol (ControlProtocolDescriptor* descriptor, Session* s)
+new_generic_midi_protocol (ControlProtocolDescriptor* /*descriptor*/, Session* s)
 {
        GenericMidiControlProtocol* gmcp;
                
@@ -25,13 +25,13 @@ new_generic_midi_protocol (ControlProtocolDescriptor* descriptor, Session* s)
 }
 
 void
-delete_generic_midi_protocol (ControlProtocolDescriptor* descriptor, ControlProtocol* cp)
+delete_generic_midi_protocol (ControlProtocolDescriptor* /*descriptor*/, ControlProtocol* cp)
 {
        delete cp;
 }
 
 bool
-probe_generic_midi_protocol (ControlProtocolDescriptor* descriptor)
+probe_generic_midi_protocol (ControlProtocolDescriptor* /*descriptor*/)
 {
        return GenericMidiControlProtocol::probe ();
 }
index 204332fc4b8a83def6063e15faed2231b63c06c8..9d80915ef6d8430cfb7e7765671d8e37d84e7f94 100644 (file)
@@ -160,7 +160,7 @@ MIDIControllable::midi_sense_note_off (Parser &p, EventTwoBytes *tb)
 }
 
 void
-MIDIControllable::midi_sense_note (Parser &p, EventTwoBytes *msg, bool is_on)
+MIDIControllable::midi_sense_note (Parser &, EventTwoBytes *msg, bool is_on)
 {
        if (!bistate) {
                controllable.set_value (msg->note_number/127.0);
@@ -202,7 +202,7 @@ MIDIControllable::midi_sense_controller (Parser &, EventTwoBytes *msg)
 }
 
 void
-MIDIControllable::midi_sense_program_change (Parser &p, byte msg)
+MIDIControllable::midi_sense_program_change (Parser &, byte msg)
 {
        /* XXX program change messages make no sense for bistates */
 
@@ -213,7 +213,7 @@ MIDIControllable::midi_sense_program_change (Parser &p, byte msg)
 }
 
 void
-MIDIControllable::midi_sense_pitchbend (Parser &p, pitchbend_t pb)
+MIDIControllable::midi_sense_pitchbend (Parser &, pitchbend_t pb)
 {
        /* pitchbend messages make no sense for bistates */
 
@@ -224,7 +224,7 @@ MIDIControllable::midi_sense_pitchbend (Parser &p, pitchbend_t pb)
 }                      
 
 void
-MIDIControllable::midi_receiver (Parser &p, byte *msg, size_t len)
+MIDIControllable::midi_receiver (Parser &, byte *msg, size_t /*len*/)
 {
        /* we only respond to channel messages */
 
@@ -342,7 +342,7 @@ MIDIControllable::send_feedback ()
 }
 
 MIDI::byte*
-MIDIControllable::write_feedback (MIDI::byte* buf, int32_t& bufsize, bool force)
+MIDIControllable::write_feedback (MIDI::byte* buf, int32_t& bufsize, bool /*force*/)
 {
        if (control_type != none && feedback && bufsize > 2) {
                
index de9154c80d1bcdf7a788d30031c10a2d0a01cda2..c8c559738ec3caf6d872ac74e9b5eb59d8a2557d 100644 (file)
@@ -23,7 +23,7 @@
 using namespace ARDOUR;
 
 ControlProtocol*
-new_osc_protocol (ControlProtocolDescriptor* descriptor, Session* s)
+new_osc_protocol (ControlProtocolDescriptor* /*descriptor*/, Session* s)
 {
        OSC* osc = new OSC (*s, Config->get_osc_port());
                
@@ -33,13 +33,13 @@ new_osc_protocol (ControlProtocolDescriptor* descriptor, Session* s)
 }
 
 void
-delete_osc_protocol (ControlProtocolDescriptor* descriptor, ControlProtocol* cp)
+delete_osc_protocol (ControlProtocolDescriptor* /*descriptor*/, ControlProtocol* cp)
 {
        delete cp;
 }
 
 bool
-probe_osc_protocol (ControlProtocolDescriptor* descriptor)
+probe_osc_protocol (ControlProtocolDescriptor* /*descriptor*/)
 {
        return true; // we can always do OSC
 }
index 264ce74f4950514eb7d8ee5ee510dc582c52f5a8..e26e0f7b77b12dc54f5a241385767e605fa222a9 100644 (file)
@@ -51,12 +51,17 @@ using namespace sigc;
 using namespace std;
 
 
+#ifdef DEBUG
 static void error_callback(int num, const char *m, const char *path)
 {
-#ifdef DEBUG
        fprintf(stderr, "liblo server error %d in path %s: %s\n", num, path, m);
-#endif
 }
+#else
+static void error_callback(int, const char *, const char *)
+{
+
+}
+#endif
 
 OSC::OSC (Session& s, uint32_t port)
        : ControlProtocol (s, "OSC")
@@ -601,7 +606,7 @@ OSC::catchall (const char *path, const char *types, lo_arg **argv, int argc, lo_
 }
 
 void
-OSC::route_added (RouteList& rl)
+OSC::route_added (RouteList&)
 {
 }
 
@@ -726,7 +731,7 @@ OSC::session_exported( std::string path, std::string name ) {
 /* path callbacks */
 
 int 
-OSC::current_value (const char *path, const char *types, lo_arg **argv, int argc, void *data, void* user_data
+OSC::current_value (const char */*path*/, const char */*types*/, lo_arg **/*argv*/, int /*argc*/, void */*data*/, void* /*user_data*/
 { 
 #if 0
        const char* returl;
index 4eebc906bb30e7224c4fe2be0498c9ae0f51dc56..2b6df6a80cab93cdd08474bfdbc51ce4c6cf8d04 100644 (file)
@@ -106,7 +106,7 @@ class OSC : public ARDOUR::ControlProtocol
         static int _ ## name (const char *path, const char *types, lo_arg **argv, int argc, void *data, void *user_data) { \
                return static_cast<OSC*>(user_data)->cb_ ## name (path, types, argv, argc, data); \
         } \
-        int cb_ ## name (const char *path, const char *types, lo_arg **argv, int argc, void *data) { \
+        int cb_ ## name (const char *, const char *, lo_arg **, int, void *) { \
                name (); \
                return 0; \
        }
@@ -133,7 +133,7 @@ class OSC : public ARDOUR::ControlProtocol
         static int _ ## name (const char *path, const char *types, lo_arg **argv, int argc, void *data, void *user_data) { \
                return static_cast<OSC*>(user_data)->cb_ ## name (path, types, argv, argc, data); \
         } \
-        int cb_ ## name (const char *path, const char *types, lo_arg **argv, int argc, void *data) { \
+        int cb_ ## name (const char *, const char *, lo_arg **argv, int argc, void *) { \
                 if (argc > 0) {                                                \
                        name (optional argv[0]->type);          \
                 }                                                      \
@@ -147,7 +147,7 @@ class OSC : public ARDOUR::ControlProtocol
         static int _ ## name (const char *path, const char *types, lo_arg **argv, int argc, void *data, void *user_data) { \
                return static_cast<OSC*>(user_data)->cb_ ## name (path, types, argv, argc, data); \
         } \
-        int cb_ ## name (const char *path, const char *types, lo_arg **argv, int argc, void *data) { \
+        int cb_ ## name (const char *, const char *, lo_arg **argv, int argc, void *) { \
                 if (argc > 1) {                                                \
                        name (argv[0]->arg1type, argv[1]->arg2type); \
                 }                                                      \
index 9851daeb7e487b093a32b917d06a7f00e286c34d..3d3fefcac1a6f57a3e512be8531c2bbe0267cd9d 100644 (file)
@@ -51,7 +51,7 @@ OSCControllable::get_state ()
 }
 
 int
-OSCControllable::set_state (const XMLNode& node)
+OSCControllable::set_state (const XMLNode& /*node*/)
 {
        return 0;
 }
index 6012c064d855d7ae09fb027337d39b7eefe600ee..02ddf977222ff4de5283984be980fca28507c9bd 100644 (file)
@@ -10,7 +10,7 @@
 using namespace ARDOUR;
 
 ControlProtocol*
-new_powermate_protocol (ControlProtocolDescriptor* descriptor, Session* s)
+new_powermate_protocol (ControlProtocolDescriptor* /*descriptor*/, Session* s)
 {
        PowermateControlProtocol* pcp = new PowermateControlProtocol (*s);
 
@@ -24,13 +24,13 @@ new_powermate_protocol (ControlProtocolDescriptor* descriptor, Session* s)
 }
 
 void
-delete_powermate_protocol (ControlProtocolDescriptor* descriptor, ControlProtocol* cp)
+delete_powermate_protocol (ControlProtocolDescriptor* /*descriptor*/, ControlProtocol* cp)
 {
        delete cp;
 }
 
 bool
-probe_powermate_protocol (ControlProtocolDescriptor* descriptor)
+probe_powermate_protocol (ControlProtocolDescriptor* /*descriptor*/)
 {
        return PowermateControlProtocol::probe ();
 }
index 6f3cf154567f1bccce84a61d9ebcfc0d2173d96f..96baf749b37ac551bcf5ac49121e0e925b0d6c36 100644 (file)
@@ -145,7 +145,7 @@ PowermateControlProtocol::get_state ()
 }
 
 int
-PowermateControlProtocol::set_state (const XMLNode& node)
+PowermateControlProtocol::set_state (const XMLNode& /*node*/)
 {
        return 0;
 }
index 7023297d33a6304ca9b74be150bdd9fc7445fefe..c6f7bc0938c9ba029165ecdaf4075b4d1c0b8efa 100644 (file)
@@ -198,7 +198,7 @@ float AmplitudeFollower::getParameter(std::string paramid) const
 
 AmplitudeFollower::FeatureSet
 AmplitudeFollower::process(const float *const *inputBuffers,
-                           Vamp::RealTime timestamp)
+                           Vamp::RealTime /*timestamp*/)
 {
     if (m_stepSize == 0) {
        cerr << "ERROR: AmplitudeFollower::process: "
index 2c91e40d94e55683ad2fa1b620e2f0668653711c..f8d4bf2d2817c3b1c2a156656f526df73c2bba60 100644 (file)
@@ -583,7 +583,7 @@ PluginAdapterBase::Impl::vampGetRemainingFeatures(VampPluginHandle handle)
 }
 
 void
-PluginAdapterBase::Impl::vampReleaseFeatureSet(VampFeatureList *fs)
+PluginAdapterBase::Impl::vampReleaseFeatureSet(VampFeatureList */*fs*/)
 {
 #ifdef DEBUG_PLUGIN_ADAPTER
     std::cerr << "PluginAdapterBase::Impl::vampReleaseFeatureSet" << std::endl;