The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Macros | |
#define | MHAIO_DOCUMENTATION_PREFIX(prefix, cat, doc) |
#define | MHAIO_DOCUMENTATION(plugname, cat, doc) MHAIO_DOCUMENTATION_PREFIX(MHA_STATIC_ ## plugname ## _,cat,doc) |
Typedefs | |
typedef int(* | IOProcessEvent_t) (void *handle, mha_wave_t *sIn, mha_wave_t **sOut) |
Event handler for signal stream. More... | |
typedef void(* | IOStoppedEvent_t) (void *handle, int proc_err, int io_err) |
Event handler for stop event. More... | |
typedef void(* | IOStartedEvent_t) (void *handle) |
Event handler for start event. More... | |
typedef int(* | IOInit_t) (int fragsize, float samplerate, IOProcessEvent_t proc_event, void *proc_handle, IOStartedEvent_t start_event, void *start_handle, IOStoppedEvent_t stop_event, void *stop_handle, void **handle) |
typedef int(* | IOPrepare_t) (void *handle, int num_inchannels, int num_outchannels) |
typedef int(* | IOStart_t) (void *handle) |
typedef int(* | IOStop_t) (void *handle) |
typedef int(* | IORelease_t) (void *handle) |
typedef int(* | IOSetVar_t) (void *handle, const char *cmd, char *retval, unsigned int len) |
typedef const char *(* | IOStrError_t) (void *handle, int err) |
typedef void(* | IODestroy_t) (void *handle) |
#define MHAIO_DOCUMENTATION_PREFIX | ( | prefix, | |
cat, | |||
doc | |||
) |
#define MHAIO_DOCUMENTATION | ( | plugname, | |
cat, | |||
doc | |||
) | MHAIO_DOCUMENTATION_PREFIX(MHA_STATIC_ ## plugname ## _,cat,doc) |
typedef int(* IOProcessEvent_t) (void *handle, mha_wave_t *sIn, mha_wave_t **sOut) |
Event handler for signal stream.
This event handler needs to be realtime compatible. All signal path processing will be performed in this callback.
typedef void(* IOStoppedEvent_t) (void *handle, int proc_err, int io_err) |
Event handler for stop event.
This event handler needs to be realtime compatible. The function must return immediatly.
typedef void(* IOStartedEvent_t) (void *handle) |
Event handler for start event.
This event handler needs to be realtime compatible. The function must return immediatly.
typedef int(* IOInit_t) (int fragsize, float samplerate, IOProcessEvent_t proc_event, void *proc_handle, IOStartedEvent_t start_event, void *start_handle, IOStoppedEvent_t stop_event, void *stop_handle, void **handle) |
typedef int(* IOPrepare_t) (void *handle, int num_inchannels, int num_outchannels) |
typedef int(* IOStart_t) (void *handle) |
typedef int(* IOStop_t) (void *handle) |
typedef int(* IORelease_t) (void *handle) |
typedef int(* IOSetVar_t) (void *handle, const char *cmd, char *retval, unsigned int len) |
typedef const char*(* IOStrError_t) (void *handle, int err) |
typedef void(* IODestroy_t) (void *handle) |