cpal/examples
mitchmindtree 476f6c4c2c Only allow for private construction of `SupportedStreamConfig`.
This should give the user a higher confidence that, if they have a
`SupportedStreamConfig` format type that it is actually supported.

Also updates the `raw` stream builder methods to take a `StreamConfig`
and `SampleFormat` as separate arguments for flexibility.

**Backends Updated**

- [x] null
- [x] alsa
- [ ] emscripten
- [ ] coreaudio
- [ ] wasapi
- [ ] asio
2020-02-02 18:43:30 +01:00
..
beep.rs Only allow for private construction of `SupportedStreamConfig`. 2020-02-02 18:43:30 +01:00
enumerate.rs Only allow for private construction of `SupportedStreamConfig`. 2020-02-02 18:43:30 +01:00
feedback.rs Rename stream `Format` types to `Config` 2020-01-27 21:28:07 +01:00
record_wav.rs Only allow for private construction of `SupportedStreamConfig`. 2020-02-02 18:43:30 +01:00