Skip to content

Commit

Permalink
Always enumerate devices on open.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Jan 24, 2024
1 parent 58dd507 commit 3c8ac41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alc/backends/wasapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ void WasapiPlayback::open(const char *name)
{
if(name)
{
if(PlaybackDevices.empty())
//if(PlaybackDevices.empty())
pushMessage(MsgType::EnumeratePlayback);
if(std::strncmp(name, DevNameHead, DevNameHeadLen) == 0)
{
Expand Down Expand Up @@ -1415,7 +1415,7 @@ void WasapiCapture::open(const char *name)
{
if(name)
{
if(CaptureDevices.empty())
//if(CaptureDevices.empty())
pushMessage(MsgType::EnumerateCapture);
if(std::strncmp(name, DevNameHead, DevNameHeadLen) == 0)
{
Expand Down

0 comments on commit 3c8ac41

Please sign in to comment.