diff options
Diffstat (limited to 'src/engine/MidiDriver.hpp')
-rw-r--r-- | src/engine/MidiDriver.hpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/engine/MidiDriver.hpp b/src/engine/MidiDriver.hpp index 31ef686d..ee10d06c 100644 --- a/src/engine/MidiDriver.hpp +++ b/src/engine/MidiDriver.hpp @@ -1,15 +1,15 @@ /* This file is part of Ingen. * Copyright (C) 2007 Dave Robillard <http://drobilla.net> - * + * * Ingen is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) any later * version. - * + * * Ingen is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. - * + * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA @@ -45,7 +45,7 @@ public: * Realtime safe, run in audio thread before executing the graph for a cycle. */ virtual void pre_process(ProcessContext& context) = 0; - + /** Prepare output for the specified (just completed) cycle. * * Realtime safe, run in audio thread after executing the graph for a cycle. @@ -70,28 +70,28 @@ public: DummyMidiDriver() { std::cout << "[DummyMidiDriver] Started Dummy MIDI driver." << std::endl; } - + ~DummyMidiDriver() {} void activate() {} void deactivate() {} - + bool is_activated() const { return false; } bool is_enabled() const { return false; } - + void enable() {} void disable() {} - + DriverPort* create_port(DuplexPort* patch_port) { return NULL; } - + DriverPort* driver_port(const Raul::Path& path) { return NULL; } - + DriverPort* new_port(DuplexPort* patch_port) { return NULL; } - + void add_port(DriverPort* port) {} - + Raul::List<DriverPort*>::Node* remove_port(const Raul::Path& path) { return NULL; } - + void pre_process(ProcessContext& context) {} void post_process(ProcessContext& context) {} }; |