13
0

Move Windows MMCSS related utility functions into libpbd

This commit is contained in:
Tim Mayberry 2015-09-14 13:26:07 +10:00
parent 76a0c823ca
commit 091c4ed3a7
7 changed files with 7 additions and 7 deletions

View File

@ -33,12 +33,12 @@
#include "pbd/error.h"
#include "pbd/file_utils.h"
#include "pbd/windows_timer_utils.h"
#include "pbd/windows_mmcss.h"
#include "ardour/filesystem_paths.h"
#include "ardour/port_manager.h"
#include "i18n.h"
#include "mmcss.h"
#include "audio_utils.h"
#include "debug.h"

View File

@ -23,11 +23,10 @@
#include "pbd/compose.h"
#include "pbd/windows_timer_utils.h"
#include "pbd/windows_mmcss.h"
#include "midi_util.h"
#include "mmcss.h"
#include "debug.h"
static const uint32_t MIDI_BUFFER_SIZE = 32768;

View File

@ -23,11 +23,11 @@
#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

View File

@ -27,7 +27,6 @@ def build(bld):
'winmmemidi_input_device.cc',
'winmmemidi_output_device.cc',
'midi_util.cc',
'mmcss.cc'
]
obj.includes = ['.']
obj.name = 'portaudio_backend'

View File

@ -16,11 +16,12 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "mmcss.h"
#include "pbd/windows_mmcss.h"
#include "pbd/compose.h"
#include "pbd/debug.h"
#include "debug.h"
#define DEBUG_THREADS(msg) DEBUG_TRACE (PBD::DEBUG::Threads, msg);
typedef HANDLE (WINAPI* AvSetMmThreadCharacteristicsA_t)(LPCSTR TaskName,
LPDWORD TaskIndex);

View File

@ -149,6 +149,7 @@ def build(bld):
obj.defines += [ 'NO_POSIX_MEMALIGN' ]
obj.source += [ 'windows_special_dirs.cc' ]
obj.source += [ 'windows_timer_utils.cc' ]
obj.source += [ 'windows_mmcss.cc' ]
obj.uselib += ' OLE'
if bld.env['BUILD_TESTS'] and bld.is_defined('HAVE_CPPUNIT'):