Unexpected fade-in effect


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");

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.


if the problem still exists, provide a small testcase to reproduce the problem.

Using footSteps.play(); seems to work fine for short wavs for me.