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
11
20 imm_clearvoice(const char* license_filepath, int sampling_rate, bool enable_auto_eq, bool enable_agc, float anc_mix);
21
31 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);
32
35
41 float process(float* input, float* output);
42
43
47 void set_anc_mix(float val);
48
52 float get_anc_mix(void);
53
57 void set_auto_eq(bool val);
58
62 bool get_auto_eq(void);
63
67 void set_agc(bool val);
68
72 bool get_agc(void);
73
74
75private:
76 void* m_clearvoice;
77};
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.