mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
Search for JACK on windows using the registry
This commit is contained in:
parent
9037c9fe22
commit
f7cc5e1f38
1 changed files with 6 additions and 0 deletions
|
|
@ -34,6 +34,7 @@
|
||||||
#ifdef PLATFORM_WINDOWS
|
#ifdef PLATFORM_WINDOWS
|
||||||
#include <shobjidl.h> // Needed for
|
#include <shobjidl.h> // Needed for
|
||||||
#include <shlguid.h> // 'IShellLink'
|
#include <shlguid.h> // 'IShellLink'
|
||||||
|
#include "pbd/windows_special_dirs.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (defined PLATFORM_WINDOWS && defined HAVE_PORTAUDIO)
|
#if (defined PLATFORM_WINDOWS && defined HAVE_PORTAUDIO)
|
||||||
|
|
@ -605,6 +606,11 @@ ARDOUR::get_jack_server_dir_paths (vector<std::string>& server_dir_paths)
|
||||||
|
|
||||||
if (pISL)
|
if (pISL)
|
||||||
pISL->Release();
|
pISL->Release();
|
||||||
|
#else
|
||||||
|
std::string reg;
|
||||||
|
if (PBD::windows_query_registry ("Software\\JACK", "Location", reg)) {
|
||||||
|
sp.push_back (reg);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
gchar *install_dir = g_win32_get_package_installation_directory_of_module (NULL);
|
gchar *install_dir = g_win32_get_package_installation_directory_of_module (NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue