From 2048a0a62f987ce760f847c85bafbe330b0e162d Mon Sep 17 00:00:00 2001 From: Ross Bencina Date: Mon, 19 Sep 2016 00:52:56 +1000 Subject: [PATCH] add comment about dsound default devices --- src/hostapi/dsound/pa_win_ds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hostapi/dsound/pa_win_ds.c b/src/hostapi/dsound/pa_win_ds.c index 44ab4ae..7201607 100644 --- a/src/hostapi/dsound/pa_win_ds.c +++ b/src/hostapi/dsound/pa_win_ds.c @@ -1564,7 +1564,7 @@ static PaError ScanDeviceInfos( struct PaUtilHostApiRepresentation *hostApi, PaH else winDsDeviceInfo->inheritedDeviceInfo.connectionId = PaUtil_MakeDeviceConnectionId(); - if( deviceNamesAndGUIDs.inputNamesAndGUIDs.items[i].lpGUID == NULL ) + if( deviceNamesAndGUIDs.inputNamesAndGUIDs.items[i].lpGUID == NULL ) /* "Primary Sound Capture Driver" */ outArgument->defaultInputDevice = *newDeviceCount; (*newDeviceCount)++; } @@ -1589,7 +1589,7 @@ static PaError ScanDeviceInfos( struct PaUtilHostApiRepresentation *hostApi, PaH else winDsDeviceInfo->inheritedDeviceInfo.connectionId = PaUtil_MakeDeviceConnectionId(); - if( deviceNamesAndGUIDs.outputNamesAndGUIDs.items[i].lpGUID == NULL ) + if( deviceNamesAndGUIDs.outputNamesAndGUIDs.items[i].lpGUID == NULL ) /* "Primary Sound Driver" */ outArgument->defaultOutputDevice = *newDeviceCount; (*newDeviceCount)++; } -- 2.43.0