const CSAMPLE* EngineMaster::buffer(AudioOutput output) const { switch (output.getType()) { case AudioOutput::MASTER: return getMasterBuffer(); break; case AudioOutput::HEADPHONES: return getHeadphoneBuffer(); break; case AudioOutput::DECK: return getDeckBuffer(output.getIndex()); break; default: return NULL; } }
const CSAMPLE* EngineMaster::buffer(AudioOutput output) const { switch (output.getType()) { case AudioOutput::MASTER: return getMasterBuffer(); break; case AudioOutput::BOOTH: return getBoothBuffer(); break; case AudioOutput::HEADPHONES: return getHeadphoneBuffer(); break; case AudioOutput::BUS: return getOutputBusBuffer(output.getIndex()); break; case AudioOutput::DECK: return getDeckBuffer(output.getIndex()); break; case AudioOutput::RECORD_BROADCAST: return getSidechainBuffer(); break; default: return NULL; } }