cpal/src
mitchmindtree 05b62bb1c0 Remove UnknownTypeBuffer in favour of specifying sample type.
This is an implementation of the planned changes described in #119.

For a quick overview of how the API has changed, check out the updated
examples.

**TODO:**

- [x] Update API.
- [x] Update examples.
- [ ] Remove `data_type` field from `Format` (see [here](https://github.com/RustAudio/cpal/issues/119#issuecomment-573788380)).
- Update backends:
  - [x] null
  - [x] ALSA
  - [ ] ASIO
  - [ ] WASAPI
  - [ ] CoreAudio
  - [ ] Emscripten

Closes #119
Closes #260
2020-01-18 15:13:17 +01:00
..
host Remove UnknownTypeBuffer in favour of specifying sample type. 2020-01-18 15:13:17 +01:00
platform Remove UnknownTypeBuffer in favour of specifying sample type. 2020-01-18 15:13:17 +01:00
error.rs Switch to dtolnay's thiserror for handling error boilerplate 2019-10-13 12:29:21 +02:00
lib.rs Remove UnknownTypeBuffer in favour of specifying sample type. 2020-01-18 15:13:17 +01:00
samples_formats.rs Remove UnknownTypeBuffer in favour of specifying sample type. 2020-01-18 15:13:17 +01:00
traits.rs Remove UnknownTypeBuffer in favour of specifying sample type. 2020-01-18 15:13:17 +01:00