cpal/examples
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
..
ios-feedback add timeout paramter to DeviceTrait stream builders (#696) 2022-10-18 18:15:31 +02:00
wasm-beep Fix compile issues in wasm-beep example (#723) 2022-11-06 04:34:08 +01:00
android.rs add timeout paramter to DeviceTrait stream builders (#696) 2022-10-18 18:15:31 +02:00
beep.rs Bump linux deps, simplify examples, remove nix dep (#712) 2022-10-23 20:59:45 +02:00
enumerate.rs Add an Android example and enhance the other examples with CLI argument parsing. 2020-12-14 11:04:32 -07:00
feedback.rs Bump linux deps, simplify examples, remove nix dep (#712) 2022-10-23 20:59:45 +02:00
record_wav.rs Bump linux deps, simplify examples, remove nix dep (#712) 2022-10-23 20:59:45 +02:00
synth_tones.rs add timeout paramter to DeviceTrait stream builders (#696) 2022-10-18 18:15:31 +02:00