Fix the PauseStream handler to flip the `playing` bit. (#233)

* Fix the PauseStream handler to flip the `playing` bit.

* Changelog entry on the wasapi stream resuming fix.

* Moved the changelog entry to the Unreleased.
This commit is contained in:
Artem 2018-07-10 16:43:52 +02:00 committed by Pierre Krieger
parent 77a4ee6145
commit 95caa88cfa
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# Unreleased
- Fix resuming a paused stream on Windows (wasapi).
- Implement `default_output_format` for emscripten backend.
# Version 0.8.1 (2018-03-18)

View File

@ -462,7 +462,7 @@ impl EventLoop {
if v.playing {
let hresult = (*v.audio_client).Stop();
check_result(hresult).unwrap();
v.playing = true;
v.playing = false;
}
}
},