mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
make meters request constant buffers
This commit is contained in:
parent
9875d43414
commit
ee5186a461
8 changed files with 8 additions and 8 deletions
|
|
@ -28,7 +28,7 @@ public:
|
||||||
Iec1ppmdsp (void);
|
Iec1ppmdsp (void);
|
||||||
~Iec1ppmdsp (void);
|
~Iec1ppmdsp (void);
|
||||||
|
|
||||||
void process (float *p, int n);
|
void process (float const *p, int n);
|
||||||
float read (void);
|
float read (void);
|
||||||
void reset ();
|
void reset ();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ public:
|
||||||
Iec2ppmdsp (void);
|
Iec2ppmdsp (void);
|
||||||
~Iec2ppmdsp (void);
|
~Iec2ppmdsp (void);
|
||||||
|
|
||||||
void process (float *p, int n);
|
void process (float const *p, int n);
|
||||||
float read (void);
|
float read (void);
|
||||||
void reset ();
|
void reset ();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ public:
|
||||||
Kmeterdsp (void);
|
Kmeterdsp (void);
|
||||||
~Kmeterdsp (void);
|
~Kmeterdsp (void);
|
||||||
|
|
||||||
void process (float *p, int n);
|
void process (float const *p, int n);
|
||||||
float read ();
|
float read ();
|
||||||
void reset ();
|
void reset ();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ public:
|
||||||
Vumeterdsp (void);
|
Vumeterdsp (void);
|
||||||
~Vumeterdsp (void);
|
~Vumeterdsp (void);
|
||||||
|
|
||||||
void process (float *p, int n);
|
void process (float const *p, int n);
|
||||||
float read (void);
|
float read (void);
|
||||||
void reset ();
|
void reset ();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ Iec1ppmdsp::~Iec1ppmdsp (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Iec1ppmdsp::process (float *p, int n)
|
void Iec1ppmdsp::process (float const *p, int n)
|
||||||
{
|
{
|
||||||
float z1, z2, m, t;
|
float z1, z2, m, t;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ Iec2ppmdsp::~Iec2ppmdsp (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Iec2ppmdsp::process (float *p, int n)
|
void Iec2ppmdsp::process (float const *p, int n)
|
||||||
{
|
{
|
||||||
float z1, z2, m, t;
|
float z1, z2, m, t;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ void Kmeterdsp::init (int fsamp)
|
||||||
_omega = 9.72f / fsamp; // ballistic filter coefficient
|
_omega = 9.72f / fsamp; // ballistic filter coefficient
|
||||||
}
|
}
|
||||||
|
|
||||||
void Kmeterdsp::process (float *p, int n)
|
void Kmeterdsp::process (float const *p, int n)
|
||||||
{
|
{
|
||||||
// Called by JACK's process callback.
|
// Called by JACK's process callback.
|
||||||
//
|
//
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ Vumeterdsp::~Vumeterdsp (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Vumeterdsp::process (float *p, int n)
|
void Vumeterdsp::process (float const *p, int n)
|
||||||
{
|
{
|
||||||
float z1, z2, m, t1, t2;
|
float z1, z2, m, t1, t2;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue