0
再生後にファイルを移動しようとしています。 私は私のファイルを再生するjavazoomのbasicplayerを使用していると私は、私はとても幸せです、私はファイルJavaZOOMは再生後にファイルを移動します
public void play(File sound) {
if (sound.exists()) {
new Thread("Sound player") {
public void run() {
currentSelectedSound = sound;
try {
control.open(currentSelectedSound);
control.play();
setVolume(currentAudioVolume);
setPan(currentAudioPan);
} catch (BasicPlayerException e) {
e.printStackTrace();
System.err.println("Error!");
}
}
}.start();
} else {
Logger.logError(TAG, "File doesn't exist!");
}
}