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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| public void play() { stop(); try { bitStream.reset(); } catch (IOException e) { } 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?