MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / closeLine

Method closeLine

Minecraft-Utils/1.8/src/AudioButton.java:144–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142 }
143
144 private void closeLine() {
145 if (line == null)
146 return;
147 line.stop();
148 line.close();
149
150 if (System.currentTimeMillis() - recordingStarted > 250)
151 callback.done(tmpFile);
152 recordingStarted = 0;
153
154 line = null;
155 }
156
157 private void stopRecording() {
158 if (!recording)

Callers 4

drawMethod · 0.95
runMethod · 0.95
stopRecordingMethod · 0.95
guiClosedMethod · 0.95

Calls 3

stopMethod · 0.80
doneMethod · 0.65
closeMethod · 0.45

Tested by

no test coverage detected