2.6 KiB
2.6 KiB
Unreleased
- Fix resuming a paused stream on Windows (wasapi).
- Implement
default_output_format
for emscripten backend.
Version 0.8.1 (2018-03-18)
- Fix the handling of non-default sample rates for coreaudio input streams.
Version 0.8.0 (2018-02-15)
- Add
record_wav.rs
example. Records 3 seconds to$CARGO_MANIFEST_DIR/recorded.wav
using default input device. - Update
enumerate.rs
example to display default input/output devices and formats. - Add input stream support to coreaudio, alsa and windows backends.
- Introduce
StreamData
type for handling either input or output streams inEventLoop::run
callback. - Add
Device::supported_{input/output}_formats
methods. - Add
Device::default_{input/output}_format
methods. - Add
default_{input/output}_device
functions. - Replace usage of
Voice
withStream
throughout the crate. - Remove
Endpoint
in favour ofDevice
for supporting both input and output streams.
Version 0.7.0 (2018-02-04)
- Rename
ChannelsCount
toChannelCount
. - Rename
SamplesRate
toSampleRate
. - Rename the
min_samples_rate
field ofSupportedFormat
tomin_sample_rate
- Rename the
with_max_samples_rate()
method ofSupportedFormat
towith_max_sample_rate()
- Rename the
samples_rate
field ofFormat
tosample_rate
- Changed the type of the
channels
field of theSupportedFormat
struct fromVec<ChannelPosition>
toChannelCount
(an alias tou16
) - Remove unused ChannelPosition API.
- Implement
Endpoint
andFormat
Enumeration for macos. - Implement format handling for macos
build_voice
method.
Version 0.6.0 (2017-12-11)
- Changed the emscripten backend to consume less CPU.
- Added improvements to the crate documentation.
- Implement
pause
andplay
for 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
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.