Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #123 from Spartan190/master
Browse files Browse the repository at this point in the history
Changed RtAudio libarary to check by ID instead by name, to work on non-...
  • Loading branch information
jaw committed Aug 27, 2013
2 parents 8bd519f + 4d4f12e commit 61ad7a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/src/sound.rtaudio/lib/RtAudio/RtAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4995,7 +4995,8 @@ static BOOL CALLBACK deviceQueryCallback( LPGUID lpguid,

// If good device, then save its name and guid.
std::string name = convertTChar( description );
if ( name == "Primary Sound Driver" || name == "Primary Sound Capture Driver" )
//if ( name == "Primary Sound Driver" || name == "Primary Sound Capture Driver" )
if ( lpguid == NULL )
name = "Default Device";
if ( validDevice ) {
for ( unsigned int i=0; i<dsDevices.size(); i++ ) {
Expand Down

0 comments on commit 61ad7a6

Please sign in to comment.