Exemplo n.º 1
0
UniverseArray::GMChannelMode OutputMap::grandMasterChannelMode()
{
    UniverseArray* ua = claimUniverses();
    UniverseArray::GMChannelMode mode = ua->gMChannelMode();
    releaseUniverses(false);
    return mode;
}
Exemplo n.º 2
0
void OutputMap::setGrandMasterChannelMode(UniverseArray::GMChannelMode mode)
{
    bool changed = false;
    UniverseArray* ua = claimUniverses();
    if(ua->gMChannelMode() != mode)
    {
        ua->setGMChannelMode(mode);
        changed = true;
    }
    releaseUniverses(changed);
}