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:
parent
77a4ee6145
commit
95caa88cfa
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue