mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
windows: don’t popup message box when libjack is not found
This commit is contained in:
parent
d34bd9e6a0
commit
ab445a0e28
1 changed files with 8 additions and 0 deletions
|
|
@ -693,7 +693,15 @@ AudioEngine::discover_backends ()
|
|||
AudioBackendInfo*
|
||||
AudioEngine::backend_discover (const string& path)
|
||||
{
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
// do not show popup dialog (e.g. missing libjack.dll)
|
||||
// win7+ should use SetThreadErrorMode()
|
||||
SetErrorMode(SEM_FAILCRITICALERRORS);
|
||||
#endif
|
||||
Glib::Module module (path);
|
||||
#ifdef PLATFORM_WINDOWS
|
||||
SetErrorMode(0); // reset to system default
|
||||
#endif
|
||||
AudioBackendInfo* info;
|
||||
AudioBackendInfo* (*dfunc)(void);
|
||||
void* func = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue