#include "pbd/debug.h"
#include "pbd/compose.h"
#include "pbd/windows_timer_utils.h"
+#include "pbd/windows_mmcss.h"
#include "rt_thread.h"
#include "midi_util.h"
-#include "mmcss.h"
#include "debug.h"
// remove dup with input_device
#ifdef USE_MMCSS_THREAD_PRIORITIES
HANDLE task_handle;
- mmcss::set_thread_characteristics ("Pro Audio", &task_handle);
- mmcss::set_thread_priority (task_handle, mmcss::AVRT_PRIORITY_HIGH);
+ PBD::MMCSS::set_thread_characteristics ("Pro Audio", &task_handle);
+ PBD::MMCSS::set_thread_priority (task_handle, PBD::MMCSS::AVRT_PRIORITY_HIGH);
#endif
while (!m_thread_quit) {
continue;
}
-#if ENABLE_SYSEX
MIDIHDR header;
header.dwBufferLength = h.size;
header.dwFlags = 0;
get_error_string (result)));
break;
}
-#endif
}
#ifdef USE_MMCSS_THREAD_PRIORITIES
- mmcss::revert_thread_characteristics (task_handle);
+ PBD::MMCSS::revert_thread_characteristics (task_handle);
#endif
m_thread_running = false;