diff options
author | David Robillard <d@drobilla.net> | 2011-06-03 10:53:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-06-03 10:53:57 +0000 |
commit | 352137726820a7313a6a64fa0a8e276b490ad932 (patch) | |
tree | e70bd39875dad23d2c6c1e0ea168c103cb4c5b9b /src/JackDriver.hpp | |
parent | b0f49e543d5f849bd128aecb7173a484b9748af9 (diff) | |
download | patchage-352137726820a7313a6a64fa0a8e276b490ad932.tar.gz patchage-352137726820a7313a6a64fa0a8e276b490ad932.tar.bz2 patchage-352137726820a7313a6a64fa0a8e276b490ad932.zip |
Better alignment of various class fields (save an insignificant amount of memory).
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3351 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/JackDriver.hpp')
-rw-r--r-- | src/JackDriver.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/JackDriver.hpp b/src/JackDriver.hpp index d1cf395..311b72a 100644 --- a/src/JackDriver.hpp +++ b/src/JackDriver.hpp @@ -65,8 +65,8 @@ public: bool disconnect(boost::shared_ptr<PatchagePort> src, boost::shared_ptr<PatchagePort> dst); - size_t get_xruns() { return _xruns; } - void reset_xruns(); + uint32_t get_xruns() { return _xruns; } + void reset_xruns(); float get_max_dsp_load(); void reset_max_dsp_load(); @@ -104,11 +104,11 @@ private: Glib::Mutex _shutdown_mutex; - bool _is_activated; jack_position_t _last_pos; jack_nframes_t _buffer_size; - size_t _xruns; + uint32_t _xruns; float _xrun_delay; + bool _is_activated :1; }; #endif // PATCHAGE_JACKDRIVER_HPP |