Skip to content

cpal 0.7.0

Choose a tag to compare

@roderickvd roderickvd released this 11 Dec 16:52
· 1186 commits to master since this release
v0.7.0
3ff9e6f

Added

  • CoreAudio: Endpoint and Format enumeration for macOS.
  • CoreAudio: Format handling for build_voice method.

Changed

  • Rename ChannelsCount to ChannelCount.
  • Rename SamplesRate to SampleRate.
  • Rename the min_samples_rate field of SupportedFormat to min_sample_rate.
  • Rename the with_max_samples_rate() method of SupportedFormat to with_max_sample_rate().
  • Rename the samples_rate field of Format to sample_rate.
  • Changed the type of the channels field of the SupportedFormat struct from Vec<ChannelPosition> to ChannelCount (an alias to u16).

Removed

  • Unused ChannelPosition API.