wasapi: Replace tabs with 4-spaces to comply with PortAudio code style guidelines (http://github.com/PortAudio/portaudio/wiki/ImplementationStyleGuidelines).

This commit is contained in:
dmitrykos 2020-10-09 00:57:23 +03:00
commit aa6ff975af

View file

@ -852,7 +852,7 @@ static inline LONGLONG SystemTimer_GetTime(SystemTimer *timer)
// 1 nano = 0.000000001 seconds
//100 nano = 0.0000001 seconds
//100 nano = 0.0001 milliseconds
return ((double)ref)*0.0001;
return ((double)ref) * 0.0001;
}*/
// ------------------------------------------------------------------------------------------
@ -861,7 +861,7 @@ static double nano100ToSeconds(REFERENCE_TIME ref)
// 1 nano = 0.000000001 seconds
//100 nano = 0.0000001 seconds
//100 nano = 0.0001 milliseconds
return ((double)ref)*0.0000001;
return ((double)ref) * 0.0000001;
}
// ------------------------------------------------------------------------------------------
@ -870,7 +870,7 @@ static double nano100ToSeconds(REFERENCE_TIME ref)
// 1 nano = 0.000000001 seconds
//100 nano = 0.0000001 seconds
//100 nano = 0.0001 milliseconds
return (REFERENCE_TIME)(ref/0.0001);
return (REFERENCE_TIME)(ref / 0.0001);
}*/
// ------------------------------------------------------------------------------------------
@ -879,7 +879,7 @@ static REFERENCE_TIME SecondsTonano100(double ref)
// 1 nano = 0.000000001 seconds
//100 nano = 0.0000001 seconds
//100 nano = 0.0001 milliseconds
return (REFERENCE_TIME)(ref/0.0000001);
return (REFERENCE_TIME)(ref / 0.0000001);
}
// ------------------------------------------------------------------------------------------
@ -5197,7 +5197,7 @@ static PaWasapiJackPortConnection _ConvertJackPortConnectionWASAPIToPA(int portC
{
case ePortConnJack: return eJackPortConnJack;
case ePortConnIntegratedDevice: return eJackPortConnIntegratedDevice;
case ePortConnBothIntegratedAndJack:return eJackPortConnBothIntegratedAndJack;
case ePortConnBothIntegratedAndJack: return eJackPortConnBothIntegratedAndJack;
case ePortConnUnknown: return eJackPortConnUnknown;
}
return eJackPortConnJack;