23 lines
451 B
C++
23 lines
451 B
C++
#include "Amuencha.hpp"
|
|
|
|
namespace Amuencha
|
|
{
|
|
void Analyser::operator()(halp::tick t)
|
|
{
|
|
if (inputs.min != previous_min ||
|
|
inputs.max != previous_max)
|
|
{
|
|
send_message(processor_to_ui{.min = inputs.min,
|
|
.max = inputs.max});
|
|
previous_min = inputs.min;
|
|
previous_max = inputs.max;
|
|
}
|
|
|
|
// Process the input buffer
|
|
auto* in = inputs.audio[0];
|
|
|
|
// for(int j{0}; j < t.frames; j++)
|
|
// {
|
|
// }
|
|
}
|
|
}
|