summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/port.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-01 16:50:12 +0000
committerDavid Robillard <d@drobilla.net>2011-06-01 16:50:12 +0000
commita473d630eb165272992e90f8d854b1d66ec0be63 (patch)
treed0d027d4e53cb3883f4098c4736651d0ae89c19a /libs/ardour/ardour/port.h
parenta46cea06e29bfdb18e0199a665caf5a34d388968 (diff)
Fix broken whitespace. I'd apologize for the compile times if it was my fault :D
git-svn-id: svn://localhost/ardour2/branches/3.0@9654 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/port.h')
-rw-r--r--libs/ardour/ardour/port.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/libs/ardour/ardour/port.h b/libs/ardour/ardour/port.h
index 5eceac5ebc..96c18442b7 100644
--- a/libs/ardour/ardour/port.h
+++ b/libs/ardour/ardour/port.h
@@ -47,10 +47,10 @@ public:
virtual ~Port ();
- static void set_connecting_blocked( bool yn ) {
+ static void set_connecting_blocked( bool yn ) {
_connecting_blocked = yn;
}
- static bool connecting_blocked() {
+ static bool connecting_blocked() {
return _connecting_blocked;
}
@@ -95,19 +95,19 @@ public:
int reestablish ();
int reconnect ();
void request_monitor_input (bool);
-
- bool last_monitor() const { return _last_monitor; }
- void set_last_monitor (bool yn) { _last_monitor = yn; }
- jack_port_t* jack_port() const { return _jack_port; }
-
- void get_connected_latency_range (jack_latency_range_t& range, bool playback) const;
+ bool last_monitor() const { return _last_monitor; }
+ void set_last_monitor (bool yn) { _last_monitor = yn; }
- void set_private_latency_range (jack_latency_range_t& range, bool playback);
- const jack_latency_range_t& private_latency_range (bool playback) const;
+ jack_port_t* jack_port() const { return _jack_port; }
- void set_public_latency_range (jack_latency_range_t& range, bool playback) const;
- jack_latency_range_t public_latency_range (bool playback) const;
+ void get_connected_latency_range (jack_latency_range_t& range, bool playback) const;
+
+ void set_private_latency_range (jack_latency_range_t& range, bool playback);
+ const jack_latency_range_t& private_latency_range (bool playback) const;
+
+ void set_public_latency_range (jack_latency_range_t& range, bool playback) const;
+ jack_latency_range_t public_latency_range (bool playback) const;
virtual void reset ();
@@ -120,16 +120,16 @@ public:
virtual void transport_stopped () {}
virtual void realtime_locate () {}
- bool physically_connected () const;
+ bool physically_connected () const;
static void set_engine (AudioEngine *);
PBD::Signal1<void,bool> MonitorInputChanged;
- static void set_cycle_framecnt (pframes_t n) {
- _cycle_nframes = n;
- }
+ static void set_cycle_framecnt (pframes_t n) {
+ _cycle_nframes = n;
+ }
static framecnt_t port_offset() { return _global_port_buffer_offset; }
static void set_global_port_buffer_offset (pframes_t off) {
_global_port_buffer_offset = off;
@@ -138,7 +138,7 @@ public:
_global_port_buffer_offset += n;
}
- virtual void increment_port_buffer_offset (pframes_t n);
+ virtual void increment_port_buffer_offset (pframes_t n);
protected:
@@ -148,13 +148,13 @@ protected:
static bool _connecting_blocked;
static pframes_t _global_port_buffer_offset; /* access only from process() tree */
- static pframes_t _cycle_nframes; /* access only from process() tree */
+ static pframes_t _cycle_nframes; /* access only from process() tree */
+
+ framecnt_t _port_buffer_offset; /* access only from process() tree */
- framecnt_t _port_buffer_offset; /* access only from process() tree */
+ jack_latency_range_t _private_playback_latency;
+ jack_latency_range_t _private_capture_latency;
- jack_latency_range_t _private_playback_latency;
- jack_latency_range_t _private_capture_latency;
-
static AudioEngine* _engine; ///< the AudioEngine
private:
@@ -163,8 +163,8 @@ private:
bool _last_monitor;
/** ports that we are connected to, kept so that we can
- reconnect to JACK when required
- */
+ reconnect to JACK when required
+ */
std::set<std::string> _connections;
};