SystemAudioSystem
Android implementation for AudioSystem. IMPORTANT: You must add the RECORD_AUDIO permission to your AndroidManifest.xml and handle the runtime permission request in your application.
JS implementation of the AudioSystem using the Web Audio API. This requires a secure context (HTTPS) to function in a browser.
JVM implementation for AudioSystem.
On macOS, this will attempt to use the native CoreAudio implementation via Panama FFI for better audio quality and device support. If the native library is not available, it falls back to the pure JVM implementation using javax.sound.sampled.
On other platforms (Windows, Linux), uses javax.sound.sampled directly.
Force JavaSound on macOS with any of:
application system property
kodio.useJavaSound=trueenvironment variable
KODIO_USE_JAVA_SOUND=true
For the desktop sample (desktopRun), -Pkodio.useJavaSound=true, -Dkodio.useJavaSound=true (Gradle VM options), gradle.properties, or KODIO_USE_JAVA_SOUND=true are forwarded onto the application JVM.
JS implementation of the AudioSystem using the Web Audio API. This requires a secure context (HTTPS) to function in a browser.