Default to Sync sound instead of Async

It seems like 'CanProvideAsync' was always returning true so the else if at 1621 was defaulting to setting Async, which caused an exception later.

This seems similar to some TAStudio issues where different people are getting different results depending on Windows version, but I don't see any issue with not setting Async mode.
This commit is contained in:
alyosha-tas 2016-12-14 15:07:04 -05:00 committed by GitHub
parent e94de78ebd
commit 6702f7795c
1 changed files with 1 additions and 2 deletions

View File

@ -1625,8 +1625,7 @@ namespace BizHawk.Client.EmuHawk
}
else
{
_currentSoundProvider.SetSyncMode(SyncSoundMode.Async);
GlobalWin.Sound.SetAsyncInputPin(_currentSoundProvider);
GlobalWin.Sound.SetSyncInputPin(_currentSoundProvider);
}
}