JvmAudioRecordingSession
constructor(device: AudioDevice.Input, format: AudioFormat = DefaultJvmRecordingAudioFormat, warmupMillis: Int = JvmRecordingWarmupMillis)
Parameters
device
The input device to record from.
format
The format of the audio data.
warmupMillis
Number of milliseconds of audio to read-and-discard immediately after TargetDataLine.start() so the silent priming frames the JavaSound stack produces (GitHub issue #5) don't show up at the beginning of every recording. Set to 0 to disable.