Exemplo n.º 1
0
// 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);
}
Exemplo n.º 2
0
void* wave_open(const char* the_api) {
  if (pulse_running)
    return wave_pulse_open(the_api);
  else
    return wave_port_open(the_api);
}