There does not seem to be any major API breakage, however the emscripten and macos backends have been pretty heavily refactored so I thought it best to bump to 0.6 (rather than 0.5.2) just in case there is any subtle behavioural breakage. Happy to change this to 0.5.2 though if someone can confirm there will be no downstream breakage.
1 KiB
1 KiB
Unreleased
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.