Ejemplo n.º 1
0
void Controller::initShared(verboseEnum verbosity, bool fullscreen)
  // initialisation that's the same for client and server
{
  out.setVerbosity(verbosity);
  out.init();

  out.setCursor(0);

  transfercontrol.init(out); // TODO remove?

  // network TODO tidy
  net.init(out);// flagsize, unitsize, MAX_CLIENTS);
  Talk talk; // just for getting chunk bytes
  net.setAudioDataSize(talk.getChunkBytes()); // TODO when use UDP remove this
}