Use MMCSS to elevate the thread priorities for audio and MIDI threads
authorTim Mayberry <mojofunk@gmail.com>
Thu, 30 Jul 2015 02:09:43 +0000 (12:09 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Thu, 30 Jul 2015 23:59:54 +0000 (09:59 +1000)
commitacd17a9b5300a38c4d61ecc0af32974d3b5113f5
tree0bbb27d9e5ac956df11c35c8028d7076c256273e
parente9d00f5cfbc774004d121dc7eae69ff22419cb49
Use MMCSS to elevate the thread priorities for audio and MIDI threads

use AVRT_PRIORITY_NORMAL for audio threads and AVRT_PRIORITY_HIGH for MIDI
threads
libs/backends/portaudio/portaudio_backend.cc
libs/backends/portaudio/winmmemidi_input_device.cc
libs/backends/portaudio/winmmemidi_output_device.cc
libs/backends/portaudio/wscript