containsMinAudioLevel

open fun containsMinAudioLevel(samples: Array<Byte>, minAudioLevel: Double): Boolean
open fun containsMinAudioLevel(samples: Array<Short>, minAudioLevel: Double): Boolean

Checks if any sample audio level is greater than the specified minimum audio level.

Return

true if any sample audio level is greater than or equal to the minimum audio level, false otherwise.

Parameters

samples

The audio samples.

minAudioLevel

The minimum audio level to check against.