Fix indentation 8 whitespaces to tab

This commit is contained in:
Nil Geisweiller
2016-12-21 22:57:39 +02:00
committed by Robin Gareus
parent 91321272b5
commit 4c66e36b91
19 changed files with 295 additions and 296 deletions

View File

@@ -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; }

View File

@@ -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

View File

@@ -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 () {}

View File

@@ -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

View File

@@ -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

View File

@@ -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)));
}

View File

@@ -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 ||