Merge pull request #98 from mgambrell/master

remove a stray garbage byte (0x10) from the source file which makes visual studio unable to open it sometimes :o
This commit is contained in:
David Reid
2019-10-04 07:23:19 +00:00
committed by GitHub
+1 -1
View File
@@ -18802,7 +18802,7 @@ ma_result ma_find_best_format__coreaudio(ma_context* pContext, AudioObjectID dev
/* Getting here means the format is supported by miniaudio which makes this format a candidate. */ /* Getting here means the format is supported by miniaudio which makes this format a candidate. */
if (thisDeviceFormat.mSampleRate != desiredSampleRate) { if (thisDeviceFormat.mSampleRate != desiredSampleRate) {
/* /*
The sample rate does not match, but this format could still be usable, although it's a very low priority. If the best format The sample rate does not match, but this format could still be usable, although it's a very low priority. If the best format
so far has an equal sample rate we can just ignore this one. so far has an equal sample rate we can just ignore this one.
*/ */
if (bestDeviceFormatSoFar.mSampleRate == desiredSampleRate) { if (bestDeviceFormatSoFar.mSampleRate == desiredSampleRate) {