MSVC + Win32/x86 patch

This commit is contained in:
Charles J. Cliffe
2015-02-20 00:34:32 -05:00
parent 14881acdc9
commit 8a859c661b
2 changed files with 10 additions and 1 deletions
+2 -1
View File
@@ -336,8 +336,9 @@ void AudioThread::setupDevice(int deviceId) {
if (deviceController.find(outputDevice.load()) != deviceController.end()) {
deviceController[outputDevice.load()]->removeThread(this);
}
#ifndef _MSC_VER
opts.priority = sched_get_priority_max(SCHED_FIFO);
#endif
// opts.flags = RTAUDIO_MINIMIZE_LATENCY;
opts.flags = RTAUDIO_SCHEDULE_REALTIME;