-
class AudioNoiseAn 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.
-
-
Constructor Summary
Constructors Constructor Description AudioNoise(AudioConfig config)
-
Method Summary
Modifier and Type Method Description voidfill(ByteBuffer outBuffer)-
-
Constructor Detail
-
AudioNoise
AudioNoise(AudioConfig config)
-
-
Method Detail
-
fill
void fill(ByteBuffer outBuffer)
-
-
-
-