// NOTE: Possible race condition: could become inactive
// before the stop() is called, which could result in
// two stop notifications to the update() method.
// Will the Clip give to stop notifications?
if (clip.isActive()) {
clip.stop();
}
clip.setFramePosition(0);
clip.start();
}
}