openSession method

void openSession(
  1. TauPlayerCallback aSession
)

Implementation

void openSession(TauPlayerCallback aSession,)
{
  assert(findSession(aSession) == -1);

  for (var i = 0; i < _slots.length; ++i)
  {
    if (_slots[i] == null)
    {
      _slots[i] = aSession;
      return;
    }
  }
  _slots.add(aSession);
}