Hello,
I get a sound peak (like when you plug in a mic in an active Soundsystem) at the end of sounds which are cutted by me. Other sounds dont have these peaks. I cant hear this peak when I use Winamp. I cut Sounds with Adobe Soundbooth CS4. What do I do wrong?
private static void loadSound(String name, String location)
{
try
{
/** Create program sound */
AudioTrack track = audio.createAudioTrack( SoundCtrl.class.getClassLoader().getResource( location ), false);
track.setMaxAudibleDistance(1000);
track.setVolume(1.0f);
/** Add track to list*/
soundLibrary.put(name, track);
}
catch (Exception e)
{
System.err.println("Sound "+name+" ("+location+") nicht gefunden");
}
}