Hi
I try to play a soundtrack repeatedly, but the track fades in everytime it is unmuted. Because it is a short sound-effect (footsteps), fading in is not desirable.
AudioSystem audio = AudioSystem.getSystem();
AudioTrack footSteps = ResourceLoader.getSound("1.wav");
audio.getEnvironmentalPool().addTrack(footSteps);
Calls to the AudioTrack.fadeIn(float time, float maxVolume)-method do not seem to have any effect.
Would be great if somebody could provide me some help.
Regards,
Markus