@Override public boolean drop(String id) { Audio audio = idToAudioMap.remove(id); if (audio != null) { audio.destroy(); Log.println(LOW_DEBUG, id + " Audio Destroyed Successfully"); return true; } return false; }
@Override public void dropAll() { for (Audio audio : idToAudioMap.values()) { audio.destroy(); } }