Skip to content

Commit

Permalink
Fix "default" ALSA device connection issue
Browse files Browse the repository at this point in the history
  • Loading branch information
antonrunov committed Dec 1, 2020
1 parent d7f1276 commit 54b49d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RtAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7240,6 +7240,8 @@ RtAudio::DeviceInfo RtApiAlsa :: getDeviceInfo( unsigned int device )
goto foundDevice;
}
}
if ( chandle )
snd_ctl_close( chandle );

// Count cards and devices
snd_card_next( &card );
Expand Down

0 comments on commit 54b49d9

Please sign in to comment.