Пример #1
0
  @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;
  }
Пример #2
0
 @Override
 public void dropAll() {
   for (Audio audio : idToAudioMap.values()) {
     audio.destroy();
   }
 }