Package 

Class AudioNoise


  • 
    class AudioNoise
    
                        

    An AudioNoise instance offers buffers of noise that we can use when recording some samples failed for some reason. Since we can't create noise anytime it's needed - that would be expensive and slow down the recording thread - we create a big noise buffer at start time. We'd like to work with ShortBuffers, but this requires converting the input buffer to ShortBuffer each time, and this can be expensive.

    • Method Summary

      Modifier and Type Method Description
      void fill(ByteBuffer outBuffer)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait