Immersitech Logo Developer Resources
immersitech_clearvoice.h
Go to the documentation of this file.
1#pragma once
2
3#include <stddef.h>
4#include <stdint.h>
5
7{
8public:
9
10
19 imm_clearvoice(const char* license_filepath, int sampling_rate, bool enable_auto_eq, bool enable_agc, float anc_mix);
20
30 imm_clearvoice(uint8_t* license_file_data, size_t license_file_data_size, int sampling_rate, bool enable_auto_eq, bool enable_agc, float anc_mix);
31
34
40 float process(float* input, float* output);
41
45 void set_anc_mix(float val);
46
50 float get_anc_mix(void);
51
55 void set_auto_eq(bool val);
56
60 bool get_auto_eq(void);
61
65 void set_agc(bool val);
66
70 bool get_agc(void);
71
72private:
73 void* m_clearvoice;
74};
75
Definition: immersitech_clearvoice.h:7
imm_clearvoice(const char *license_filepath, int sampling_rate, bool enable_auto_eq, bool enable_agc, float anc_mix)
Constructor for the Immersitech ClearVoice object.
void set_anc_mix(float val)
Set output mixture level (0 - 100) between noisy input and clean output.
bool get_agc(void)
Get automatic gain control setting.
imm_clearvoice(uint8_t *license_file_data, size_t license_file_data_size, int sampling_rate, bool enable_auto_eq, bool enable_agc, float anc_mix)
Constructor for the Immersitech ClearVoice object.
float get_anc_mix(void)
Get output mixture level between noisy input and clean output.
bool get_auto_eq(void)
Get automatic equalization setting.
void set_agc(bool val)
Enable or disable automatic gain control.
float process(float *input, float *output)
Process a single channel 10ms audio block and return VAD flag.
void set_auto_eq(bool val)
Enable or disable automatic equalization.
~imm_clearvoice()
Destructor for the Immersitech ClearVoice object.