Ejemplo n.º 1
0
    // ------- Audio calls ------------

    /// <summary> Reserve the speficied channel for manual channel playing. </summary>
    /// <param name='channel'> The AudioMixer channel. Should be a number between 1 and NUM_OF_CHANNELS </param>
    public static void ReserveChannel(int channelToReserve)
    {
        FindAMObject();
        if (!theInstance.ChannelIsValid(channelToReserve))
        {
            return;
        }

        theInstance.channelsReserved[channelToReserve - 1] = true;
    }