findSession method

int findSession(
  1. TauPlayerCallback aSession
)

Implementation

int findSession(TauPlayerCallback aSession)
{
  for (var i = 0; i < _slots.length; ++i)
  {
    if (_slots[i] == aSession)
    {
      return i;
    }
  }
  return -1;
}