Based on #195. Also implements proper handling of the given `Endpoint` in the macos implementation of the `build_voice` method. Updates to the latest coreaudio-sys and coreaudio-rs which include the additional necessary frameworks. Also adds a line that prints the name of the default device in the `enumeration.rs` example. Updates the CHANGELOG for this PR. Closes #194. Related to #180. Related external issues: - RustAudio/coreaudio-sys#4 - RustAudio/coreaudio-rs#57
1.1 KiB
1.1 KiB
Unreleased
- Implement Endpoint and Format Enumeration for macos.
- Implement format handling for macos
build_voicemethod.
Version 0.6.0 (2017-12-11)
- Changed the emscripten backend to consume less CPU.
- Added improvements to the crate documentation.
- Implement
pauseandplayfor ALSA backend. - Reduced the number of allocations in the CoreAudio backend.
- Fixes for macos build (#186, #189).
Version 0.5.1 (2017-10-21)
- Added
Sample::to_i16(),Sample::to_u16()andSample::from.
Version 0.5.0 (2017-10-21)
- Removed the dependency on the
futureslibrary. - Removed the
VoiceandSamplesStreamtypes. - Added
EventLoop::build_voice,EventLoop::destroy_voice,EventLoop::play, andEventLoop::pausethat can be used to create, destroy, play and pause voices. - Added a
VoiceIdstruct that is now used to identify a voice owned by anEventLoop. - Changed
EventLoop::run()to take a callback that is called whenever a voice requires sound data. - Changed
supported_formats()to produce a list ofSupportedFormatinstead ofFormat. ASupportedFormatmust then be turned into aFormatin order to build a voice.