summaryrefslogtreecommitdiff
path: root/libs/panners
diff options
context:
space:
mode:
authorNil Geisweiller <ngeiswei@gmail.com>2016-12-21 22:57:39 +0200
committerRobin Gareus <robin@gareus.org>2016-12-21 23:09:40 +0100
commit4c66e36b91df4e49effef77ad01c905ccedff730 (patch)
tree6ee2d4eadef3592979447d32ad94ba6e8914c7a2 /libs/panners
parent91321272b59779546c7ca426b1c8ee94fc4f1740 (diff)
Fix indentation 8 whitespaces to tab
Diffstat (limited to 'libs/panners')
-rw-r--r--libs/panners/1in2out/panner_1in2out.h22
-rw-r--r--libs/panners/2in2out/panner_2in2out.h34
2 files changed, 28 insertions, 28 deletions
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