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

Method Stop

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

Source from the content-addressed store, hash-verified

252 }
253
254 public static void Stop() {
255 if (cdfile == -1 || enabled == false || playing == false)
256 return;
257
258 // stop mp3
259 mp3.stop();
260 wasPlaying = false;
261 playing = false;
262 Com.DPrintf("CD Audio (MP3s) Stopping track\n");
263 }
264
265 private static void Eject() {
266 if (cdfile == -1 || enabled == false)

Callers 5

BeginLoadingPlaqueMethod · 0.95
PlayCinematicMethod · 0.95
CD_fMethod · 0.95
PlayMethod · 0.95
ShutdownMethod · 0.95

Calls 2

DPrintfMethod · 0.95
stopMethod · 0.80

Tested by

no test coverage detected