Clean up whitespace in src/hostapi/{asihpi, jack, oss, skeleton} in preparation for .editorconfig. (#414)
* Clean up whitespace in src/hostapi/{asihpi, jack, oss, skeleton} in preparation for .editorconfig. Convert tabs to 4 spaces. Indent by 4 spaces. Strip trailing whitespace. Ensure EOL at EOF.
* Additional formatting cleanups.
This commit is contained in:
parent
c441223dfa
commit
20a971df57
5 changed files with 128 additions and 129 deletions
|
|
@ -712,7 +712,7 @@ static PaError IsFormatSupported( struct PaUtilHostApiRepresentation *hostApi,
|
|||
|
||||
/* everything succeeded! */
|
||||
|
||||
error:
|
||||
error:
|
||||
if( tempDevHandle >= 0 )
|
||||
close( tempDevHandle );
|
||||
|
||||
|
|
@ -734,8 +734,7 @@ static PaError ValidateParameters( const PaStreamParameters *parameters, const P
|
|||
return paInvalidDevice;
|
||||
}
|
||||
|
||||
maxChans = (mode == StreamMode_In ? deviceInfo->maxInputChannels :
|
||||
deviceInfo->maxOutputChannels);
|
||||
maxChans = (mode == StreamMode_In ? deviceInfo->maxInputChannels : deviceInfo->maxOutputChannels);
|
||||
if( parameters->channelCount > maxChans )
|
||||
{
|
||||
return paInvalidChannelCount;
|
||||
|
|
|
|||
Loading…
Reference in a new issue