diff --git a/CHANGELOG.md b/CHANGELOG.md index 43950d1..2899389 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/src/wasapi/stream.rs b/src/wasapi/stream.rs index ff8ef74..1b30c97 100644 --- a/src/wasapi/stream.rs +++ b/src/wasapi/stream.rs @@ -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; } } },