项目作者: discord-java

项目描述 :
Opus java binaries
高级语言: Java
项目地址: git://github.com/discord-java/opus-java.git
创建时间: 2018-04-06T13:22:22Z
项目社区:https://github.com/discord-java/opus-java

开源协议:Apache License 2.0

下载


opus-java

Modular java binding for opus natives.

Artifacts

All artifacts are published to maven central.

Gradle

  1. repositories {
  2. mavenCentral()
  3. }

opus-java-api

version-image

Note: Replace %VERSION% with the version above.

This artifact only provides the interface to access the native opus libraries.
It can be used without opus-java-natives by providing the library to OpusLibrary.loadFrom(String) using
an absolute path.

Gradle

  1. dependencies {
  2. implementation("club.minnced:opus-java-api:%VERSION%")
  3. }

Maven

  1. <dependency>
  2. <groupId>club.minnced</groupId>
  3. <artifactId>opus-java-api</artifactId>
  4. <version>%VERSION%</version>
  5. </dependency>

opus-java-natives

version-image

Note: Replace %VERSION% with the version above.

This artifact only provides the native opus libraries as resources.

The libraries are located under /natives and can be loaded at runtime.

Gradle

  1. dependencies {
  2. implementation("club.minnced:opus-java-natives:%VERSION%")
  3. }

Maven

  1. <dependency>
  2. <groupId>club.minnced</groupId>
  3. <artifactId>opus-java-natives</artifactId>
  4. <version>%VERSION%</version>
  5. </dependency>

opus-java

version-image

Note: Replace %VERSION% with the version above.

This artifact depends on api and natives while not providing
any other features. This can be used if you want all features of this binding.

Gradle

  1. dependencies {
  2. implementation("club.minnced:opus-java:%VERSION%")
  3. }

Maven

  1. <dependency>
  2. <groupId>club.minnced</groupId>
  3. <artifactId>opus-java</artifactId>
  4. <version>%VERSION%</version>
  5. </dependency>