예제 #1
0
 public elias_event_set_send_volume CreateSetSendVolumeEvent(EliasHelper elias)
 {
     return(new elias_event_set_send_volume(
                (uint)flags,
                (uint)preWaitTimeMs,
                (uint)elias.GetBusIndex(busName),
                slot,
                volume,
                (uint)fadeTimeMS));
 }
예제 #2
0
 public override elias_event_set_effect_parameter CreateSetEffectParameterEvent(EliasHelper elias)
 {
     EliasWrapper.elias_effect_parameter effectParam = new EliasWrapper.elias_effect_parameter();
     effectParam.type             = (uint)elias_effect_parameter_types.elias_effect_parameter_bool;
     effectParam.value.bool_value = (byte)(value ? 1 : 0);
     return(new elias_event_set_effect_parameter(
                (uint)flags,
                (uint)preWaitTimeMs,
                (uint)elias.GetBusIndex(busName),
                slot,
                parameterIndex,
                effectParam,
                (uint)sweepTimeMS));
 }