Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
i have problem with effects.. ISoundEffectControl fx = null; fx = lewyPlayingSound.SoundEffectControl; fx.EnableDistortionSoundEffect(); compiler doesnt show any error.. but when i click a effect button debugger light up: x.EnableDistortionSoundEffect(); has anybody any solution? |
||||
|
Maybe you should test if fx is null? I guess it is. |
||||
|
ISoundEffectControl fx = null; fx = lewyPlayingSound.SoundEffectControl; if (fx.IsDistortionSoundEffectEnabled) { fx.DisableDistortionSoundEffect(); } else fx.EnableDistortionSoundEffect(); i try like this and the same problem. |
||||
|
When calling play2D or play3D, there is a parameter which you need to set to 'true' in order to enable sound effects on a sound. |
||||
|
for example? |
||||
|
ISoundSource sound = Engine.AddSoundSourceFromFile(@"C:\example.xm"", StreamMode.NoStreaming, true); |
|