diff options
author | Paul Adenot <[email protected]> | 2020-09-15 16:43:49 +0200 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2020-09-15 17:00:40 +0200 |
commit | a45f6d072f6e17e82a34769ef527f3041dca0259 (patch) | |
tree | 63e790ce4c76dfd0a4b487f8d061d826e49bb597 | |
parent | f4c31978941d16414eefb8eadfed463d01c2478d (diff) | |
download | cubeb-a45f6d072f6e17e82a34769ef527f3041dca0259.tar.gz cubeb-a45f6d072f6e17e82a34769ef527f3041dca0259.zip |
Reset device when reconfiguring stream
-rw-r--r-- | src/cubeb_wasapi.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cubeb_wasapi.cpp b/src/cubeb_wasapi.cpp index 449b8b5..0968a27 100644 --- a/src/cubeb_wasapi.cpp +++ b/src/cubeb_wasapi.cpp @@ -2505,6 +2505,9 @@ void close_wasapi_stream(cubeb_stream * stm) stm->input_client = nullptr; stm->capture_client = nullptr; + stm->output_device = nullptr; + stm->input_device = nullptr; + stm->audio_stream_volume = nullptr; stm->audio_clock = nullptr; |