Clean up whitespace in src\hostapi\dsound in preparation for .editorconfig. Convert tabs to 4 spaces. Indent by 4 spaces. Strip trailing whitespace. Ensure EOL at EOF. (#412)

This commit is contained in:
Ross Bencina 2021-01-21 22:32:05 +11:00 committed by GitHub
commit fd4cebf2cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 137 additions and 137 deletions

View file

@ -1600,8 +1600,8 @@ static HRESULT InitInputBuffer( PaWinDsStream *stream,
if( (result = paWinDsDSoundEntryPoints.DirectSoundCaptureCreate(
device->lpGUID, &stream->pDirectSoundCapture, NULL) ) != DS_OK ){
ERR_RPT(("PortAudio: DirectSoundCaptureCreate() failed!\n"));
return result;
ERR_RPT(("PortAudio: DirectSoundCaptureCreate() failed!\n"));
return result;
}
// Setup the secondary buffer description
@ -1711,7 +1711,7 @@ static HRESULT InitOutputBuffer( PaWinDsStream *stream, PaWinDsDeviceInfo *devic
// Create the secondary buffer
if ((result = IDirectSound_CreateSoundBuffer( stream->pDirectSound,
&secondaryDesc, &stream->pDirectSoundOutputBuffer, NULL)) != DS_OK)
goto error;
goto error;
return DS_OK;