From b0dda1ccccb53f8bb7ad59c96252647f8e4aa124 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 7 Feb 2007 03:22:42 +0000 Subject: Mad sed-fu for consistent private member naming. git-svn-id: http://svn.drobilla.net/lad/patchage@286 a436a847-0d15-0410-975c-d299462d15a1 --- src/JackDriver.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'src/JackDriver.h') 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& events() { return m_events; } + Raul::SRSWQueue& events() { return _events; } void refresh(); @@ -60,31 +60,31 @@ public: bool disconnect(boost::shared_ptr src, boost::shared_ptr 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 create_port(boost::shared_ptr 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 m_events; + Raul::SRSWQueue _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; }; -- cgit v1.2.1