Hiya,
I downloaded the quite attractive EasyOgg by Kevin Glass. Upon running his test application on every loop I got a crackle. I loaded the music ogg into Audacity and loop played it. No crackle.
It seems to be part of the play() method. I listened to it several times and the crackle occurs on first playing.
public void play() {
stop();
try {
bitStream.reset();
} catch (IOException e) {
// ignore if no mark
}
player = new Thread() {
public void run() {
try {
playStream(Thread.currentThread());
} catch (InternalException e) {
e.printStackTrace();
}
try {
bitStream.reset();
} catch (IOException e) {
e.printStackTrace();
}
};
};
player.setDaemon(true);
player.start();
}
Has anyone found a work around for this?