Skip to content

cpal 0.8.0

Choose a tag to compare

@roderickvd roderickvd released this 11 Dec 16:52
· 1236 commits to master since this release
v0.8.0

Added

  • Device::supported_{input/output}_formats methods.
  • Device::default_{input/output}_format methods.
  • default_{input/output}_device functions.
  • StreamData type for handling either input or output streams in EventLoop::run callback.
  • ALSA: Input stream support.
  • CoreAudio: Input stream support.
  • Examples: record_wav.rs example that records 3 seconds to $CARGO_MANIFEST_DIR/recorded.wav using default input device.
  • WASAPI: Input stream support.

Changed

  • Replace usage of Voice with Stream throughout the crate.
  • Examples: Update enumerate.rs example to display default input/output devices and formats.

Removed

  • Endpoint in favour of Device for supporting both input and output streams.