Alsa PCM dynamic library for the CleanSine javasound provider https://github.com/pavhofman/csjsound-provider . Only PCM devices are listed (as opposite to the standard OpenJDK alsa provider which lists only hw cards).
For amd64:
cd src
./compile.sh
Cross compiling on ubuntu for aarch64 (requires the aarch64 build chain and libasound2:arm64 library):
./compile.sh aarch64
The log level is defined at compile time by defining USE_ERROR and/or USE_TRACE in
Line 4 in 8b738ad
All logs are sent to stdout (via standard fprintf(stdout))
Line 4 in 8b738ad
The javasound API requires a list of pre-determined formats supported by the devices. The ALSA-PCM library reads hw_params and sends combinations of:
- min/max rates
Line 269 in 8b738ad
- min/2/max channels
Line 179 in 8b738ad
The alsa configs enumeration skips standard config names, same as in PortAudio
Line 20 in 8b738ad