MCPcopy Create free account
hub / github.com/demoth/jake2 / Pause

Method Pause

client/src/main/java/jake2/client/CDAudio.java:315–326  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

313 }
314
315 private static void Pause() {
316 if (cdfile == -1 || enabled == false || playing == false)
317 return;
318
319 // pause mp3
320 mp3.pause();
321 if (mp3.isError() == false) {
322 wasPlaying = playing;
323 playing = false;
324 Com.DPrintf("CD Audio (MP3s) Paused \n");
325 }
326 }
327
328 private static void Resume() {
329 if (cdfile == -1 || enabled == false || cdValid == false || wasPlaying == false)

Callers 1

CD_fMethod · 0.95

Calls 3

DPrintfMethod · 0.95
pauseMethod · 0.80
isErrorMethod · 0.80

Tested by

no test coverage detected