Ardour  9.0-pre0-582-g084a23a80d
PBD::MMCSS Namespace Reference

Enumerations

enum  AVRT_PRIORITY {
  AVRT_PRIORITY_VERYLOW = -2 , AVRT_PRIORITY_LOW , AVRT_PRIORITY_NORMAL , AVRT_PRIORITY_HIGH ,
  AVRT_PRIORITY_CRITICAL
}
 
enum  error_codes { ERROR_INVALID_TASK_NAME = 1550 , ERROR_INVALID_TASK_INDEX = 1551 }
 

Functions

bool initialize ()
 
bool deinitialize ()
 
bool set_thread_characteristics (const std::string &task_name, HANDLE *task_handle)
 
bool revert_thread_characteristics (HANDLE task_handle)
 
bool set_thread_priority (HANDLE, AVRT_PRIORITY)
 

Enumeration Type Documentation

◆ AVRT_PRIORITY

Enumerator
AVRT_PRIORITY_VERYLOW 
AVRT_PRIORITY_LOW 
AVRT_PRIORITY_NORMAL 
AVRT_PRIORITY_HIGH 
AVRT_PRIORITY_CRITICAL 

Definition at line 33 of file windows_mmcss.h.

◆ error_codes

Enumerator
ERROR_INVALID_TASK_NAME 
ERROR_INVALID_TASK_INDEX 

Definition at line 42 of file windows_mmcss.h.

Function Documentation

◆ deinitialize()

bool PBD::MMCSS::deinitialize ( )

◆ initialize()

bool PBD::MMCSS::initialize ( )

◆ revert_thread_characteristics()

bool PBD::MMCSS::revert_thread_characteristics ( HANDLE  task_handle)

◆ set_thread_characteristics()

bool PBD::MMCSS::set_thread_characteristics ( const std::string &  task_name,
HANDLE *  task_handle 
)

◆ set_thread_priority()

bool PBD::MMCSS::set_thread_priority ( HANDLE  ,
AVRT_PRIORITY   
)