Logo Search packages:      
Sourcecode: patchage version File versions  Download package

void AlsaDriver::refresh_connections (  )  [private]

Refresh all Alsa Midi connections.

Definition at line 233 of file AlsaDriver.cpp.

References add_connections(), and PatchagePort::type().

Referenced by refresh().

{
      PatchageModule* m = NULL;
      PatchagePort*   p = NULL;
      
      for (ModuleMap::iterator i = m_patch_bay->modules().begin();
                  i != m_patch_bay->modules().end(); ++i) {
            m = (PatchageModule*)((*i).second);
            for (PortList::iterator j = m->ports().begin(); j != m->ports().end(); ++j) {
                  p = (PatchagePort*)(*j);
                  if (p->type() == ALSA)
                        add_connections(p);
            }
      }
}


Generated by  Doxygen 1.6.0   Back to index