// wrappers void *wave_open(int srate, const char *device) { if (pulse_running) return wave_pulse_open(srate, device); else return wave_port_open(srate, device); }
void* wave_open(const char* the_api) { if (pulse_running) return wave_pulse_open(the_api); else return wave_port_open(the_api); }