diff options
author | David Robillard <d@drobilla.net> | 2007-02-07 03:22:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-07 03:22:42 +0000 |
commit | b0dda1ccccb53f8bb7ad59c96252647f8e4aa124 (patch) | |
tree | 78a88098a4f73413705141bfe8006373e5671625 /src/JackDriver.h | |
parent | 7eb1849da7c9473c5242665b9a28081034ec6876 (diff) | |
download | patchage-b0dda1ccccb53f8bb7ad59c96252647f8e4aa124.tar.gz patchage-b0dda1ccccb53f8bb7ad59c96252647f8e4aa124.tar.bz2 patchage-b0dda1ccccb53f8bb7ad59c96252647f8e4aa124.zip |
Mad sed-fu for consistent private member naming.
git-svn-id: http://svn.drobilla.net/lad/patchage@286 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/JackDriver.h')
-rw-r--r-- | src/JackDriver.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/JackDriver.h b/src/JackDriver.h index 2df9789..4ac8467 100644 --- a/src/JackDriver.h +++ b/src/JackDriver.h @@ -47,10 +47,10 @@ public: void attach(bool launch_daemon); void detach(); - bool is_attached() const { return (m_client != NULL); } - bool is_realtime() const { return m_client && jack_is_realtime(m_client); } + bool is_attached() const { return (_client != NULL); } + bool is_realtime() const { return _client && jack_is_realtime(_client); } - Raul::SRSWQueue<PatchageEvent>& events() { return m_events; } + Raul::SRSWQueue<PatchageEvent>& events() { return _events; } void refresh(); @@ -60,31 +60,31 @@ public: bool disconnect(boost::shared_ptr<PatchagePort> src, boost::shared_ptr<PatchagePort> dst); - void start_transport() { jack_transport_start(m_client); } - void stop_transport() { jack_transport_stop(m_client); } + void start_transport() { jack_transport_start(_client); } + void stop_transport() { jack_transport_stop(_client); } void reset_xruns(); - void reset_delay() { jack_reset_max_delayed_usecs(m_client); } + void reset_delay() { jack_reset_max_delayed_usecs(_client); } void rewind_transport() { jack_position_t zero; zero.frame = 0; zero.valid = (jack_position_bits_t)0; - jack_transport_reposition(m_client, &zero); + jack_transport_reposition(_client, &zero); } - jack_client_t* client() { return m_client; } + jack_client_t* client() { return _client; } jack_nframes_t buffer_size(); bool set_buffer_size(jack_nframes_t size); - inline float sample_rate() { return jack_get_sample_rate(m_client); } + inline float sample_rate() { return jack_get_sample_rate(_client); } void set_realtime(bool realtime, int priority=80); - inline size_t xruns() { return m_xruns; } + inline size_t xruns() { return _xruns; } - inline float max_delay() { return jack_get_max_delayed_usecs(m_client); } + inline float max_delay() { return jack_get_max_delayed_usecs(_client); } boost::shared_ptr<PatchagePort> create_port(boost::shared_ptr<PatchageModule> parent, jack_port_t* port); @@ -103,16 +103,16 @@ private: static int jack_xrun_cb(void* me); static void jack_shutdown_cb(void* me); - Patchage* m_app; - jack_client_t* m_client; + Patchage* _app; + jack_client_t* _client; - Raul::SRSWQueue<PatchageEvent> m_events; + Raul::SRSWQueue<PatchageEvent> _events; - bool m_is_activated; - jack_position_t m_last_pos; - jack_nframes_t m_buffer_size; - size_t m_xruns; - float m_xrun_delay; + bool _is_activated; + jack_position_t _last_pos; + jack_nframes_t _buffer_size; + size_t _xruns; + float _xrun_delay; }; |