Esempio n. 1
0
  public void queueBuffer(AudioBuffer b) {
    if (bufferMode == BufferMode.QUEUE_MODE) {
      if (b == null) {
        log.debug("queueAudioBuffer with null buffer input");
        return;
      }
      if (sound_src == null) {
        log.debug("queueAudioBuffer with null sound_src");
        return;
      }

      log.debug("Queueing Buffer: " + b.getSystemName());

      sound_src.queueBuffer(b);
    } else {
      log.warn("Attempted to Queue buffer to a Bound SoundBite.");
    }
  }