2022-08-24 01:08:20 +02:00
|
|
|
#pragma once
|
|
|
|
|
2022-08-30 00:39:15 +02:00
|
|
|
#include <cstdint>
|
|
|
|
|
2022-08-24 01:08:20 +02:00
|
|
|
class Convolver {
|
2022-08-30 00:39:15 +02:00
|
|
|
public:
|
|
|
|
Convolver();
|
|
|
|
~Convolver();
|
|
|
|
|
|
|
|
void CommitKernelBuffer(uint32_t param_1, uint32_t param_2, uint32_t kernelId);
|
|
|
|
bool GetEnabled();
|
|
|
|
uint32_t GetKernelID();
|
|
|
|
void PrepareKernelBuffer(uint32_t param_1, uint32_t param_2, int32_t kernelId);
|
2022-10-06 03:37:22 +02:00
|
|
|
uint32_t Process(float *source, float *dest, uint32_t frameSize);
|
2022-08-30 00:39:15 +02:00
|
|
|
void Reset();
|
|
|
|
void SetCrossChannel(float param_1);
|
|
|
|
void SetEnable(bool enabled);
|
|
|
|
void SetKernel(float *param_1, uint32_t param_2);
|
|
|
|
void SetKernel(const char *param_1);
|
|
|
|
void SetKernelBuffer(uint32_t param_1, float *param_2, uint32_t param_3);
|
|
|
|
void SetKernelStereo(float *param_1, float *param_2, uint32_t param_3);
|
|
|
|
void SetSamplingRate(uint32_t param_1);
|
2022-08-24 01:08:20 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|