mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
NO-OP: whitespace
This commit is contained in:
parent
ac9e16f0b8
commit
4780a0fd60
10 changed files with 948 additions and 956 deletions
|
|
@ -21,36 +21,43 @@
|
|||
#ifndef __ardour_panner_1in2out_h__
|
||||
#define __ardour_panner_1in2out_h__
|
||||
|
||||
#include <cmath>
|
||||
#include <cassert>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "pbd/stateful.h"
|
||||
#include "pbd/controllable.h"
|
||||
#include "pbd/cartesian.h"
|
||||
#include "pbd/controllable.h"
|
||||
#include "pbd/stateful.h"
|
||||
|
||||
#include "ardour/types.h"
|
||||
#include "ardour/panner.h"
|
||||
#include "ardour/types.h"
|
||||
|
||||
|
||||
namespace ARDOUR {
|
||||
namespace ARDOUR
|
||||
{
|
||||
|
||||
class Panner1in2out : public Panner
|
||||
{
|
||||
public:
|
||||
public:
|
||||
Panner1in2out (boost::shared_ptr<Pannable>);
|
||||
~Panner1in2out ();
|
||||
|
||||
void set_position (double);
|
||||
bool clamp_position (double&);
|
||||
void set_position (double);
|
||||
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);
|
||||
}
|
||||
|
||||
static Panner* factory (boost::shared_ptr<Pannable>, boost::shared_ptr<Speakers>);
|
||||
|
||||
|
|
@ -60,7 +67,7 @@ class Panner1in2out : public Panner
|
|||
|
||||
void reset ();
|
||||
|
||||
protected:
|
||||
protected:
|
||||
float left;
|
||||
float right;
|
||||
float desired_left;
|
||||
|
|
@ -76,6 +83,6 @@ class Panner1in2out : public Panner
|
|||
void update ();
|
||||
};
|
||||
|
||||
} // namespace
|
||||
} // namespace ARDOUR
|
||||
|
||||
#endif /* __ardour_panner_1in2out_h__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue