getCurrentInputLatencyMs

Retrieves the current input latency of the audio stream.

Input latency is the time it takes for an audio signal to travel from the analog-to-digital converter (ADC) to the application. This metric is an important for synchronizing audio input with playback.

Return

Double - The current input latency in milliseconds or -1.0 if latency detection is not available or if there's an error in calculating latency.