aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/RaulJackDriver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/RaulJackDriver.hpp')
-rw-r--r--src/engine/RaulJackDriver.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/engine/RaulJackDriver.hpp b/src/engine/RaulJackDriver.hpp
index f1b92f1..6ab0116 100644
--- a/src/engine/RaulJackDriver.hpp
+++ b/src/engine/RaulJackDriver.hpp
@@ -1,15 +1,15 @@
/* This file is part of Raul.
* Copyright (C) 2007 Dave Robillard <http://drobilla.net>
- *
+ *
* Raul 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.
- *
+ *
* Raul 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
@@ -36,7 +36,7 @@ class JackDriver
public:
JackDriver();
virtual ~JackDriver();
-
+
void attach(const std::string& client_name, std::string server_name="");
void detach();
@@ -46,17 +46,17 @@ public:
bool is_activated() const { return _is_activated; }
bool is_attached() const { return (_client != NULL); }
bool is_realtime() const { return _client && jack_is_realtime(_client); }
-
+
void start_transport() { jack_transport_start(_client); }
void stop_transport() { jack_transport_stop(_client); }
-
+
void rewind_transport() {
jack_position_t zero;
zero.frame = 0;
zero.valid = (jack_position_bits_t)0;
jack_transport_reposition(_client, &zero);
}
-
+
jack_nframes_t buffer_size();
bool set_buffer_size(jack_nframes_t size);