diff options
author | Nil Geisweiller <ngeiswei@gmail.com> | 2016-12-21 22:57:39 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-12-21 23:09:40 +0100 |
commit | 4c66e36b91df4e49effef77ad01c905ccedff730 (patch) | |
tree | 6ee2d4eadef3592979447d32ad94ba6e8914c7a2 /libs | |
parent | 91321272b59779546c7ca426b1c8ee94fc4f1740 (diff) |
Fix indentation 8 whitespaces to tab
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/ardour/automation_list.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/panner.h | 6 | ||||
-rw-r--r-- | libs/evoral/evoral/ControlSet.hpp | 2 | ||||
-rw-r--r-- | libs/panners/1in2out/panner_1in2out.h | 22 | ||||
-rw-r--r-- | libs/panners/2in2out/panner_2in2out.h | 34 | ||||
-rw-r--r-- | libs/timecode/src/bbt_time.cc | 14 | ||||
-rw-r--r-- | libs/timecode/timecode/bbt_time.h | 2 |
7 files changed, 41 insertions, 41 deletions
diff --git a/libs/ardour/ardour/automation_list.h b/libs/ardour/ardour/automation_list.h index a57460c31b..2cd517a342 100644 --- a/libs/ardour/ardour/automation_list.h +++ b/libs/ardour/ardour/automation_list.h @@ -106,7 +106,7 @@ class LIBARDOUR_API AutomationList : public PBD::StatefulDestructible, public Ev void start_touch (double when); void stop_touch (bool mark, double when); - bool touching() const { return g_atomic_int_get (const_cast<gint*>(&_touching)); } + bool touching() const { return g_atomic_int_get (const_cast<gint*>(&_touching)); } bool writing() const { return _state == Write; } bool touch_enabled() const { return _state == Touch; } diff --git a/libs/ardour/ardour/panner.h b/libs/ardour/ardour/panner.h index 48f9ee16e9..362a49851a 100644 --- a/libs/ardour/ardour/panner.h +++ b/libs/ardour/ardour/panner.h @@ -171,8 +171,8 @@ public: return fabs (a.azi - b.azi) < 1.0; } - virtual void freeze (); - virtual void thaw (); + virtual void freeze (); + virtual void thaw (); protected: boost::shared_ptr<Pannable> _pannable; @@ -182,7 +182,7 @@ protected: framepos_t start, framepos_t end, pframes_t nframes, pan_t** buffers, uint32_t which) = 0; - int32_t _frozen; + int32_t _frozen; }; } // namespace diff --git a/libs/evoral/evoral/ControlSet.hpp b/libs/evoral/evoral/ControlSet.hpp index 5a9fc588b2..e327cb10c1 100644 --- a/libs/evoral/evoral/ControlSet.hpp +++ b/libs/evoral/evoral/ControlSet.hpp @@ -66,7 +66,7 @@ public: void what_has_data(std::set<Parameter>&) const; - Glib::Threads::Mutex& control_lock() const { return _control_lock; } + Glib::Threads::Mutex& control_lock() const { return _control_lock; } protected: virtual void control_list_marked_dirty () {} diff --git a/libs/panners/1in2out/panner_1in2out.h b/libs/panners/1in2out/panner_1in2out.h index 06d68a706f..67543fd898 100644 --- a/libs/panners/1in2out/panner_1in2out.h +++ b/libs/panners/1in2out/panner_1in2out.h @@ -46,17 +46,17 @@ class Panner1in2out : public Panner bool clamp_position (double&); std::pair<double, double> position_range () const; - double position() const; + double position() const; - ChanCount in() const { return ChanCount (DataType::AUDIO, 1); } - ChanCount out() const { return ChanCount (DataType::AUDIO, 2); } + ChanCount in() const { return ChanCount (DataType::AUDIO, 1); } + ChanCount out() const { return ChanCount (DataType::AUDIO, 2); } - std::set<Evoral::Parameter> what_can_be_automated() const; + std::set<Evoral::Parameter> what_can_be_automated() const; - static Panner* factory (boost::shared_ptr<Pannable>, boost::shared_ptr<Speakers>); + static Panner* factory (boost::shared_ptr<Pannable>, boost::shared_ptr<Speakers>); - std::string describe_parameter (Evoral::Parameter); - std::string value_as_string (boost::shared_ptr<const AutomationControl>) const; + std::string describe_parameter (Evoral::Parameter); + std::string value_as_string (boost::shared_ptr<const AutomationControl>) const; XMLNode& get_state (); @@ -71,11 +71,11 @@ class Panner1in2out : public Panner float right_interp; void distribute_one (AudioBuffer& src, BufferSet& obufs, gain_t gain_coeff, pframes_t nframes, uint32_t which); - void distribute_one_automated (AudioBuffer& srcbuf, BufferSet& obufs, - framepos_t start, framepos_t end, pframes_t nframes, - pan_t** buffers, uint32_t which); + void distribute_one_automated (AudioBuffer& srcbuf, BufferSet& obufs, + framepos_t start, framepos_t end, pframes_t nframes, + pan_t** buffers, uint32_t which); - void update (); + void update (); }; } // namespace diff --git a/libs/panners/2in2out/panner_2in2out.h b/libs/panners/2in2out/panner_2in2out.h index 4c71a27c18..f67ac1081b 100644 --- a/libs/panners/2in2out/panner_2in2out.h +++ b/libs/panners/2in2out/panner_2in2out.h @@ -43,34 +43,34 @@ class Panner2in2out : public Panner Panner2in2out (boost::shared_ptr<Pannable>); ~Panner2in2out (); - ChanCount in() const { return ChanCount (DataType::AUDIO, 2); } - ChanCount out() const { return ChanCount (DataType::AUDIO, 2); } + ChanCount in() const { return ChanCount (DataType::AUDIO, 2); } + ChanCount out() const { return ChanCount (DataType::AUDIO, 2); } - bool clamp_position (double&); - bool clamp_width (double&); + bool clamp_position (double&); + bool clamp_width (double&); std::pair<double, double> position_range () const; std::pair<double, double> width_range () const; - void set_position (double); - void set_width (double); + void set_position (double); + void set_width (double); - double position () const; - double width () const; + double position () const; + double width () const; std::set<Evoral::Parameter> what_can_be_automated() const; static Panner* factory (boost::shared_ptr<Pannable>, boost::shared_ptr<Speakers>); - std::string describe_parameter (Evoral::Parameter); - std::string value_as_string (boost::shared_ptr<const AutomationControl>) const; + std::string describe_parameter (Evoral::Parameter); + std::string value_as_string (boost::shared_ptr<const AutomationControl>) const; XMLNode& get_state (); - void update (); + void update (); void reset (); - void thaw (); + void thaw (); protected: float left[2]; @@ -81,12 +81,12 @@ class Panner2in2out : public Panner float right_interp[2]; private: - bool clamp_stereo_pan (double& direction_as_lr_fract, double& width); + bool clamp_stereo_pan (double& direction_as_lr_fract, double& width); - void distribute_one (AudioBuffer& srcbuf, BufferSet& obufs, gain_t gain_coeff, pframes_t nframes, uint32_t which); - void distribute_one_automated (AudioBuffer& srcbuf, BufferSet& obufs, - framepos_t start, framepos_t end, pframes_t nframes, - pan_t** buffers, uint32_t which); + void distribute_one (AudioBuffer& srcbuf, BufferSet& obufs, gain_t gain_coeff, pframes_t nframes, uint32_t which); + void distribute_one_automated (AudioBuffer& srcbuf, BufferSet& obufs, + framepos_t start, framepos_t end, pframes_t nframes, + pan_t** buffers, uint32_t which); }; } // namespace diff --git a/libs/timecode/src/bbt_time.cc b/libs/timecode/src/bbt_time.cc index b2cf9dadfe..826f0cd91f 100644 --- a/libs/timecode/src/bbt_time.cc +++ b/libs/timecode/src/bbt_time.cc @@ -35,14 +35,14 @@ const double BBT_Time::ticks_per_beat = 1920.0; BBT_Time::BBT_Time (double dbeats) { - /* NOTE: this does not construct a BBT time in a canonical form, - in that beats may be a very large number, and bars will - always be zero. - */ + /* NOTE: this does not construct a BBT time in a canonical form, + in that beats may be a very large number, and bars will + always be zero. + */ assert (dbeats >= 0); - bars = 0; - beats = lrint (floor (dbeats)); - ticks = lrint (floor (BBT_Time::ticks_per_beat * fmod (dbeats, 1.0))); + bars = 0; + beats = lrint (floor (dbeats)); + ticks = lrint (floor (BBT_Time::ticks_per_beat * fmod (dbeats, 1.0))); } diff --git a/libs/timecode/timecode/bbt_time.h b/libs/timecode/timecode/bbt_time.h index 8b92f6efa9..b3ba3a6b57 100644 --- a/libs/timecode/timecode/bbt_time.h +++ b/libs/timecode/timecode/bbt_time.h @@ -41,7 +41,7 @@ struct LIBTIMECODE_API BBT_Time { BBT_Time (uint32_t ba, uint32_t be, uint32_t t) : bars (ba), beats (be), ticks (t) {} - BBT_Time (double beats); + BBT_Time (double beats); bool operator< (const BBT_Time& other) const { return bars < other.bars || |