MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / deallocate

Method deallocate

src/main/java/trace/sound/Sound.java:144–148  ·  view source on GitHub ↗
(Source s)

Source from the content-addressed store, hash-verified

142
143 public void play(Source s) {
144 AL10.alSourcePlay(s.source.get(0));
145 }
146
147
148 public void deallocate(Source s) {
149 AL10.alSourceStop(s.source.get(0));
150 AL10.alSourcei(s.source.get(0), AL10.AL_BUFFER, 0);
151 free.add(s);

Callers

nothing calls this directly

Calls 2

getMethod · 0.65
addMethod · 0.45

Tested by

no test coverage detected