Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atsushieno/alsakt
ALSA JavaCPP binding (for ktmidi project only so far)
https://github.com/atsushieno/alsakt
alsa javacpp kotlin midi
Last synced: 3 months ago
JSON representation
ALSA JavaCPP binding (for ktmidi project only so far)
- Host: GitHub
- URL: https://github.com/atsushieno/alsakt
- Owner: atsushieno
- License: mit
- Created: 2021-03-30T12:03:28.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-26T14:40:06.000Z (about 1 year ago)
- Last Synced: 2024-05-02T00:30:28.214Z (9 months ago)
- Topics: alsa, javacpp, kotlin, midi
- Language: Kotlin
- Homepage:
- Size: 246 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# alsakt
alsakt is an ALSA JNI binding and Kotlin OO-wrapper library.
It is based on [JavaCPP](https://github.com/bytedeco/javacpp) technology.
The OO-wrapper part is based on [alsa-sharp](https://github.com/atsushieno/alsa-sharp) project.alsakt is created mostly for use in [ktmidi](https://github.com/atsushieno/ktmidi) project.
## Building
Since alsakt 0.3.0, it bundles `libasound.so` on x86_64 Linux (maybe doable for other architectures, but needs native build setup). Before trying to build the Kotlin/JVM library, we have to build `libasound.so` first:
```
./build-native.sh
```Then the resulting shared library will be packaged within the .jar by JavaCPP builder.
It is a Gradle Kotlin/JVM project and `./gradlew build` takes care of the Kotlin/JVM part.
## Licenses
alsakt is released under the MIT license.
The ALSA headers and `libasound.so` that are packaged in the resulting jar is built from [alsa-lib](https://github.com/alsa-project/alsa-lib) submodule, which is released under the LGPL v2.1 license.
[JavaCPP](https://github.com/bytedeco/javacpp/) is distributed under Apache V2 license.