void MIDIOut::init() { m_alsa = NULL; m_address = NULL; /* Initialize ALSA stuff */ initALSA(); /* Find out what devices we have */ rescanDevices(); }
Boolean WISInput::initialize(UsageEnvironment& env) { do { if (!openFiles(env)) break; if (!initALSA(env)) break; if (!initV4L(env)) break; return True; } while (0); // An error occurred return False; }
void MIDIInput::init() { m_alsa = NULL; m_address = NULL; /* Create the poller thread */ m_poller = new MIDIPoller(this); /* Initialize ALSA stuff */ initALSA(); /* Find out what devices we have */ rescanDevices(); }