775 B
775 B
Unreleased
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
futures
library. - Removed the
Voice
andSamplesStream
types. - Added
EventLoop::build_voice
,EventLoop::destroy_voice
,EventLoop::play
, andEventLoop::pause
that can be used to create, destroy, play and pause voices. - Added a
VoiceId
struct 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 ofSupportedFormat
instead ofFormat
. ASupportedFormat
must then be turned into aFormat
in order to build a voice.