This is a C# wrapper class library of libsoundio that is specialized for the Unity runtime environment.
At the moment, only the audio input features are implemented and tested because the main aim of this project is providing low-latency audio input functionality to Unity.
libsoundio binaries contained in this repository are slightly different from the official ones. See the following fork for details:
https://github.com/keijiro/libsoundio
- Unity 2019.3 or later
- 64-bit desktop platforms (Windows, macOS, Linux)
On Linux, ALSA (libasound2) must be installed on the system.
This package uses the scoped registry feature to resolve package dependencies. Please add the following sections to the manifest file (Packages/manifest.json).
To the scopedRegistries
section:
{
"name": "Keijiro",
"url": "https://registry.npmjs.com",
"scopes": [ "jp.keijiro" ]
}
To the dependencies
section:
"jp.keijiro.libsoundio": "1.0.0"
After changes, the manifest file should look like below:
{
"scopedRegistries": [
{
"name": "Keijiro",
"url": "https://registry.npmjs.com",
"scopes": [ "jp.keijiro" ]
}
],
"dependencies": {
"jp.keijiro.libsoundio": "1.0.0",
...