Implement pause and play for ALSA backend (#176)

* Implement `pause` and `play` for ALSA backend

This commit also ensures that the Voice is initially paused when
returned to remain consistent with the rest of the CPAL backends.

Related to #175.

* Remove ineffective pause from end of build_voice method

* ALSA - Change `is_paused` flag from `AtomicBool` to `bool`

* Add pause and play ALSA addition to CHANGELOG
This commit is contained in:
mitchmindtree 2017-11-02 19:30:15 +10:00 • committed by tomaka
parent 743e4e3526
commit 019b27350f
2 changed files with 42 additions and 19 deletions

View file

@ -2,6 +2,7 @@
- Changed the emscripten backend to consume less CPU.
- Added improvements to the crate documentation.
- Implement `pause` and `play` for ALSA backend.
# Version 0.5.1 (2017-10-21)