Browse Source

Use JACK_DRIVER_DIR variable in internal clients loader.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3212 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.9.1
sletz 17 years ago
parent
commit
604fd21827
4 changed files with 10 additions and 13 deletions
  1. +4
    -0
      ChangeLog
  2. +5
    -8
      common/JackInternalClient.cpp
  3. +0
    -1
      example-clients/alias.c
  4. +1
    -4
      posix/JackPosixServerLaunch.cpp

+ 4
- 0
ChangeLog View File

@@ -23,6 +23,10 @@ Michael Voigt
Jackdmp changes log
---------------------------

2008-11-17 Stephane Letz <letz@grame.fr>

* Use JACK_DRIVER_DIR variable in internal clients loader.

2008-11-16 Stephane Letz <letz@grame.fr>

* Client and library global context cleanup in case of incorrect shutdown handling (that is applications not correctly closing client after server has shutdown).


+ 5
- 8
common/JackInternalClient.cpp View File

@@ -19,14 +19,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include "JackSystemDeps.h"

#ifndef WIN32
#ifndef ADDON_DIR
#include "config.h"
#endif
#endif

#include "JackGraphManager.h"
#include "JackConstants.h"
#include "JackInternalClient.h"
#include "JackLockedEngine.h"
#include "JackServer.h"
@@ -79,7 +73,10 @@ static void PrintLoadError(const char* so_name)

static void BuildClientPath(char* path_to_so, int path_len, const char* so_name)
{
snprintf(path_to_so, path_len, ADDON_DIR "/%s.so", so_name);
const char* driver_dir;
if ((driver_dir = getenv("JACK_DRIVER_DIR")) == 0)
driver_dir = ADDON_DIR;
snprintf(path_to_so, path_len, "%s/%s.so", driver_dir, so_name);
}

#endif


+ 0
- 1
example-clients/alias.c View File

@@ -20,7 +20,6 @@
#include <string.h>
#include <getopt.h>
#include <jack/jack.h>
//#include <config.h>

char * my_name;



+ 1
- 4
posix/JackPosixServerLaunch.cpp View File

@@ -18,10 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

*/

#ifndef JACK_LOCATION
#include "config.h"
#endif

#include "JackConstants.h"
#include "JackChannel.h"
#include "JackLibGlobals.h"
#include "JackServerLaunch.h"


Loading…
Cancel
Save