Warning: session_start(): open(/var/lib/php/sessions/sess_pjgkr1f92fohlc23j1nnc794lm, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
lib 1001094 // JavaLayer 1.0.1
import javazoom.jl.player.*;
static void playWAVAndWait(File wav) ctex {
if (callService('playWAVAndWait, wav)) ret;
S method = soundPlayMethod();
if (eq(method, "aplay")) {
print("Playing WAV (aplay)...");
backtick("aplay " + bashQuote(wav));
} else if (eq(method, "cmdmp3.exe")) {
print("Playing WAV (cmdmp3.exe)...");
backtick(winQuote(cmdmp3_exe()) + " " + winQuote(wav));
} else {
print("Playing WAV (JavaZoom), " + fileSize(wav) + " bytes...");
final Player player = new Player(new FileInputStream(wav));
player.play();
repeat with sleep 10 {
if (player.isComplete()) break;
}
player.close();
}
}