public final class AudioUtil extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
AudioUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
audioMalfunction(java.lang.Exception ex)
Shows a popup audio error message for the given exception.
|
static double |
getCalibratedDuration(java.io.File wavFile)
Returns calibrated length of recording in seconds.
|
private AudioUtil()
public static double getCalibratedDuration(java.io.File wavFile)
wavFile
- the recording file (WAV format)public static void audioMalfunction(java.lang.Exception ex)
ex
- The exception used as error reason. Cannot be null
.