118 Commits
Author SHA1 Message Date
biroder ce731c58b7 Merge github.com:RustAudio/cpal
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)
2025-04-28 16:30:24 +03:00
Greg Wiley edecb26ff3 Fix compile issues in wasm-beep example (#723)
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.
2022-11-06 04:34:08 +01:00
Dan Wilhelm a9b34ea8bc Update wasm-beep to webpack 5 (#684) 2022-11-04 22:18:31 +01:00
mbodmer 97fc4edb8b Bump linux deps, simplify examples, remove nix dep (#712)
* 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
2022-10-23 20:59:45 +02:00
mbodmer 0a3e8c2208 add timeout paramter to DeviceTrait stream builders (#696)
* 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>
2022-10-18 18:15:31 +02:00
pin 73a035617b Fix CI failure (#705) 2022-10-08 14:55:50 +02:00
Kai Giebeler 85d773d59f Migrate Sample to dasp_sample (#689) 2022-10-07 14:08:54 +02:00
pin 0f8cd7a9c8 Add NetBSD support 2022-09-25 07:54:19 +02:00
S. A. Bjørn a420316e30 Fix example typos (#655)
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.
2022-03-24 16:21:44 +01:00
Rémi Lauzier 6087b05604 Clap 3.1 2022-02-18 13:08:59 -05:00
Wandalen 33094e89f5 Add sample-based generation example: synth_tones (#612) 2022-01-14 13:38:08 +01:00
Luca Barbato 78c238e6cc Update to clap3 2022-01-12 16:55:46 +01:00
Sebastian Imlay d36e39ee14 Maybe fix ci 2021-12-31 11:06:14 -05:00
Sebastian Imlay 77cdab0823 Added work around for big sur clang issue 2021-11-27 12:21:50 -05:00
Rémi Lauzier ba462dad18 Fix some typo and warnings 2021-06-29 11:30:26 -04:00
Michael Hills b9b36d6a9a iOS default sample rate pulled from audio unit 2021-01-02 02:04:13 +11:00
Michael Hills 2cccf99d50 Refactor coreaudio host and add iOS support + ios-feedback example 2021-01-02 02:04:13 +11:00
Alex Moon e76e1de3a3 Switch from structopt to clap to reduce dependencies. 2020-12-22 09:25:36 -07:00
Alex Moon 269c60fde0 Add an Android example and enhance the other examples with CLI argument parsing. 2020-12-14 11:04:32 -07:00
est31 3ccbcb843c Update ringbuf dev-dependency 2020-11-08 15:02:55 +01:00
mitchmindtree 2220f58491 Merge pull request #491 from creator-rs/master
Add Android APK build CI and Release version 0.13.0
2020-11-03 13:03:47 +01:00
mitchmindtree 2ea54a7ec6 Merge pull request #463 from RustAudio/dependabot/npm_and_yarn/examples/wasm-beep/elliptic-6.5.3
Bump elliptic from 6.5.2 to 6.5.3 in /examples/wasm-beep
2020-10-27 23:34:44 +01:00
mitchmindtree 5720d0c99f Merge pull request #475 from RustAudio/dependabot/npm_and_yarn/examples/wasm-beep/http-proxy-1.18.1
Bump http-proxy from 1.18.0 to 1.18.1 in /examples/wasm-beep
2020-10-27 23:34:30 +01:00
enfipy 0ff26d163d Add apk build and alter CI 2020-10-27 21:14:42 +02:00
Erik Natanael GustafssonandFederico Dolce 2b31fe41af JACK Host (#389)
Co-authored-by: Federico Dolce <psykopear@gmail.com>
2020-10-01 18:04:43 +09:00