mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
tracking down why alpha binaries don't find control surfaces
git-svn-id: svn://localhost/ardour2/branches/3.0@9189 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7178f031ba
commit
e43b01535c
3 changed files with 12 additions and 14 deletions
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
#include <glibmm/miscutils.h>
|
||||
|
||||
#include "ardour/control_protocol_search_path.h"
|
||||
|
|
@ -35,18 +36,18 @@ SearchPath
|
|||
control_protocol_search_path ()
|
||||
{
|
||||
bool surfaces_path_defined = false;
|
||||
SearchPath spath_env(Glib::getenv(surfaces_env_variable_name, surfaces_path_defined));
|
||||
SearchPath spath_env (Glib::getenv(surfaces_env_variable_name, surfaces_path_defined));
|
||||
|
||||
if (surfaces_path_defined)
|
||||
{
|
||||
if (surfaces_path_defined) {
|
||||
return spath_env;
|
||||
}
|
||||
|
||||
SearchPath spath(user_config_directory ());
|
||||
SearchPath spath (user_config_directory ());
|
||||
|
||||
std::cerr << "for CPS, AMD = " << ardour_module_directory().to_string() << std::endl;
|
||||
|
||||
spath += ardour_module_directory ();
|
||||
|
||||
spath.add_subdirectory_to_paths(surfaces_dir_name);
|
||||
spath.add_subdirectory_to_paths (surfaces_dir_name);
|
||||
|
||||
return spath;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <iostream>
|
||||
#include <glibmm/miscutils.h>
|
||||
|
||||
#include "ardour/panner_search_path.h"
|
||||
|
|
@ -41,8 +42,10 @@ panner_search_path ()
|
|||
return spath_env;
|
||||
}
|
||||
|
||||
SearchPath spath(user_config_directory ());
|
||||
SearchPath spath (user_config_directory ());
|
||||
|
||||
std::cerr << "for panner, AMD = " << ardour_module_directory().to_string() << std::endl;
|
||||
|
||||
spath += ardour_module_directory ();
|
||||
spath.add_subdirectory_to_paths(panner_dir_name);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue