Ejemplo n.º 1
0
 private void AddSoundEvent(NoiseChannelEvents soundEvent, int value, int channelIndex = 0xFF)
 {
     if (channelIndex == 0xFF)
     {
         channelIndex = _channelIndex;
     }
     _soundEventQueue.AddSoundEvent(_state.TickDiff, (int)soundEvent, value, channelIndex);
     _state.TickDiff = 0;
 }
Ejemplo n.º 2
0
 private void AddSoundEvent(SquareChannelEvents soundEvent, int value)
 {
     _soundEventQueue.AddSoundEvent(_state.TickDiff, (int)soundEvent, value, _channelIndex);
     _state.TickDiff = 0;
 }