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

Method stop

client/src/main/java/jake2/client/MP3.java:195–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193 }
194
195 public void stop() {
196 if (isplaying == true) {
197 id3v2 = "";
198 totallength = 0;
199 totalbytes = 0;
200 currentpos = 0;
201 ispaused = false;
202 isplaying = false;
203 islooping = false;
204 iscomplete = true;
205 isinitialized = false;
206 player.close();
207 }
208 }
209
210 public void play() {
211 if (isplaying == true && ispaused == false || isinitialized == false)

Callers 1

StopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected