diff options
author | Matthew Gregan <[email protected]> | 2022-12-07 21:00:57 +1300 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2022-12-08 09:24:26 +1300 |
commit | eb8c4ff0605e304ccdf839a22d89312e152ad914 (patch) | |
tree | ded15a8362abef2c1bbfdc88886e5b7816cf9405 /src | |
parent | 784f4d7e3fcea486708b1f81e7efcef6860a6ab4 (diff) | |
download | cubeb-eb8c4ff0605e304ccdf839a22d89312e152ad914.tar.gz cubeb-eb8c4ff0605e304ccdf839a22d89312e152ad914.zip |
wasapi: Fix default device change filtering logic.
Diffstat (limited to 'src')
-rw-r--r-- | src/cubeb_wasapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cubeb_wasapi.cpp b/src/cubeb_wasapi.cpp index 611efbe..14ae226 100644 --- a/src/cubeb_wasapi.cpp +++ b/src/cubeb_wasapi.cpp @@ -708,7 +708,7 @@ public: LOG("endpoint: Audio device default changed."); /* we only support a single stream type for now. */ - if (flow != eRender && role != this->role) { + if (flow != eRender || role != this->role) { return S_OK; } |