The Open Master Hearing Aid (openMHA)
openMHA
Open community platform for hearing aid algorithm research
|
Classes | |
class | MHAIOPortAudio::stream_info_t |
class | MHAIOPortAudio::device_info_t |
class | MHAIOPortAudio::io_portaudio_t |
Main class for Portaudio sound IO. More... | |
Namespaces | |
MHAIOPortAudio | |
Macros | |
#define | ERR_SUCCESS 0 |
#define | ERR_IHANDLE -1 |
#define | ERR_USER -1000 |
#define | MAX_USER_ERR 0x500 |
#define | IOInit MHA_STATIC_MHAIOPortAudio_IOInit |
#define | IOPrepare MHA_STATIC_MHAIOPortAudio_IOPrepare |
#define | IOStart MHA_STATIC_MHAIOPortAudio_IOStart |
#define | IOStop MHA_STATIC_MHAIOPortAudio_IOStop |
#define | IORelease MHA_STATIC_MHAIOPortAudio_IORelease |
#define | IOSetVar MHA_STATIC_MHAIOPortAudio_IOSetVar |
#define | IOStrError MHA_STATIC_MHAIOPortAudio_IOStrError |
#define | IODestroy MHA_STATIC_MHAIOPortAudio_IODestroy |
#define | dummy_interface_test MHA_STATIC_MHAIOPortAudio_dummy_interface_test |
Functions | |
static std::string | MHAIOPortAudio::parserFriendlyName (const std::string &in) |
int | portaudio_callback (const void *input, void *output, unsigned long frameCount, const PaStreamCallbackTimeInfo *timeInfo, PaStreamCallbackFlags statusFlags, void *userData) |
int | IOInit (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) |
int | IOPrepare (void *handle, int nch_in, int nch_out) |
int | IOStart (void *handle) |
int | IOStop (void *handle) |
int | IORelease (void *handle) |
int | IOSetVar (void *handle, const char *command, char *retval, unsigned int maxretlen) |
const char * | IOStrError (void *, int err) |
void | IODestroy (void *handle) |
Variables | |
static char | user_err_msg [MAX_USER_ERR] = "" |
PaStreamCallback | portaudio_callback |
#define ERR_SUCCESS 0 |
#define ERR_IHANDLE -1 |
#define ERR_USER -1000 |
#define MAX_USER_ERR 0x500 |
#define IOInit MHA_STATIC_MHAIOPortAudio_IOInit |
#define IOPrepare MHA_STATIC_MHAIOPortAudio_IOPrepare |
#define IOStart MHA_STATIC_MHAIOPortAudio_IOStart |
#define IOStop MHA_STATIC_MHAIOPortAudio_IOStop |
#define IORelease MHA_STATIC_MHAIOPortAudio_IORelease |
#define IOSetVar MHA_STATIC_MHAIOPortAudio_IOSetVar |
#define IOStrError MHA_STATIC_MHAIOPortAudio_IOStrError |
#define IODestroy MHA_STATIC_MHAIOPortAudio_IODestroy |
#define dummy_interface_test | ( | void | ) | MHA_STATIC_MHAIOPortAudio_dummy_interface_test |
int portaudio_callback | ( | const void * | input, |
void * | output, | ||
unsigned long | frameCount, | ||
const PaStreamCallbackTimeInfo * | timeInfo, | ||
PaStreamCallbackFlags | statusFlags, | ||
void * | userData | ||
) |
int IOInit | ( | 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 | ||
) |
int IOPrepare | ( | void * | handle, |
int | nch_in, | ||
int | nch_out | ||
) |
int IOStart | ( | void * | handle | ) |
int IOStop | ( | void * | handle | ) |
int IORelease | ( | void * | handle | ) |
int IOSetVar | ( | void * | handle, |
const char * | command, | ||
char * | retval, | ||
unsigned int | maxretlen | ||
) |
const char* IOStrError | ( | void * | , |
int | err | ||
) |
void IODestroy | ( | void * | handle | ) |
|
static |
PaStreamCallback portaudio_callback |