internal void INTERNAL_applyEffect(DSPEffect effectSlotHandle) { INTERNAL_alEffectSlot = effectSlotHandle.Handle; if (INTERNAL_alSource != 0) { AL10.alSource3i( INTERNAL_alSource, EFX.AL_AUXILIARY_SEND_FILTER, (int)INTERNAL_alEffectSlot, 0, 0 ); } }
private void INTERNAL_setupSounds() { INTERNAL_activeSound.GenerateInstances(INTERNAL_instancePool, INTERNAL_instanceVolumes); foreach (uint curDSP in INTERNAL_activeSound.DSPCodes) { DSPEffect handle = INTERNAL_baseEngine.INTERNAL_getDSP(curDSP); foreach (SoundEffectInstance sfi in INTERNAL_instancePool) { // FIXME: This only applies the last DSP! sfi.INTERNAL_applyEffect(handle); } } }
internal void INTERNAL_applyEffect(DSPEffect effectSlotHandle) { INTERNAL_alEffectSlot = effectSlotHandle.Handle; if (INTERNAL_alSource != -1) { AL.Source( INTERNAL_alSource, ALSource3i.EfxAuxiliarySendFilter, INTERNAL_alEffectSlot, 0, 0 ); } }
internal void INTERNAL_applyEffect(DSPEffect effectSlotHandle) { INTERNAL_alEffectSlot = effectSlotHandle.Handle; if (INTERNAL_alSource != 0) { AL10.alSource3i( INTERNAL_alSource, EFX.AL_AUXILIARY_SEND_FILTER, (int) INTERNAL_alEffectSlot, 0, 0 ); } }