Skip to content

The stand-alone JavaSound framework core, ported from JDK. If you want to use the decoder/encoder (or third-party plugins) from JavaSound framework without include the whole java.desktop module (e.g. play AudioInputStream with OpenAL), you can include it to your project as a dependency.

License

Tianscar/javasound-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaSound Framework Core

The stand-alone JavaSound framework core, ported from JDK. If you want to use the decoder/encoder (or third-party plugins) from JavaSound framework without include the whole java.desktop module (e.g. play AudioInputStream with OpenAL), you can include it to your project as a dependency.

Details of the port:
From BellSoft Liberica JDK 8
com.sun.media.sound -> com.sun.media.sound
javax.sound -> javax.sound
Removed all SecurityManager related and native-code related classes, and JavaSoundAudioClip.java.

Add the library to your project (gradle)

  1. Add the Maven Central repository (if not exist) to your build file:
repositories {
    ...
    mavenCentral()
}
  1. Add the dependency:
dependencies {
    ...
    runtimeOnly 'com.tianscar.javasound:javasound-core:1.0.0'
}

Usage

Tests

Note you need to download test audios here and put them to /src/test/java/resources to run the test code properly!

License

GPLv2+CE

About

The stand-alone JavaSound framework core, ported from JDK. If you want to use the decoder/encoder (or third-party plugins) from JavaSound framework without include the whole java.desktop module (e.g. play AudioInputStream with OpenAL), you can include it to your project as a dependency.

Topics

Resources

License

Stars

Watchers

Forks

Languages