An error occurs when compiling `oboe-sys` 0.5.0, so intergating the latest upstream changes seems like the easiest solution to fix the Android build.
The commits replacing `oboe` with `ndk-audio`/`aaudio` weren't merged, as this would increase the minimum supported Android version to 8.0 (API level 26)
Fixes#721
Changes to a dependency library broke compilation of the example. Changes needed to get the example working and warning-free include:
1. specifying additional type constraints in local implementations
2. using the `FromSample` trait to convert samples in the handler
3. adding a default matcher in response to the non-exhaustive attribute on `SampleFormat`
Also adds a github action to ensure the wasm-beep example compiles.
* bump linux dependencies, dev-dependencies, anyhow, hound, ringbuf
* update to clap v4 and simplify examples with clap_derive
* have libjack installed when running with --all-features
* don't force the patch version for libc
* allow room for version resolution with nix
* nix dependency not used anymore, remove it
* add timeout paramter to DeviceTrait stream builders
This makes it possible for the library client to handle situations where the host
takes too long to respond or even blocks forever, eg. a retry can be applied.
if the timeout passed is "None" the current behaviour is applied, eg. blocking forever.
if the timeout passed is a Duration then it will be applied to the Device Streams.
This is only implemented for ALSA, the other hosts will ignore the parameter for now.
Signed-off-by: Marc Bodmer <marc.bodmer@securiton.ch>
both feedback.rs and record_wav.rs have "bleep" as their application name when constructing clap::Command. This commit changes the constructor argument for each example to match their filenames.