Browse Source

Remove GPL dependency from JackTools.

JackTools is a part of the LGPL licenced jacklib and should not pull in
GPL licensed code.
tags/v1.9.13
Viktor Wilhelmsson Filipe Coelho <falktx@falktx.com> 5 years ago
parent
commit
a465c2bd36
2 changed files with 2 additions and 8 deletions
  1. +1
    -1
      common/JackNetOneDriver.cpp
  2. +1
    -7
      common/JackTools.cpp

+ 1
- 1
common/JackNetOneDriver.cpp View File

@@ -287,7 +287,7 @@ int JackNetOneDriver::Read()
}

if ((netj.num_lost_packets * netj.period_size / netj.sample_rate) > 2)
JackTools::ThrowJackNetException();
throw JackNetException();

//netjack_read(&netj, netj.period_size);
JackDriver::CycleTakeBeginTime();


+ 1
- 7
common/JackTools.cpp View File

@@ -18,7 +18,7 @@
*/

#include "JackConstants.h"
#include "JackDriverLoader.h"
#include "driver_interface.h"
#include "JackTools.h"
#include "JackError.h"
#include <stdlib.h>
@@ -44,11 +44,6 @@ namespace Jack {
#endif
}

void JackTools::ThrowJackNetException()
{
throw JackNetException();
}

int JackTools::MkDir(const char* path)
{
#ifdef WIN32
@@ -299,4 +294,3 @@ void BuildClientPath(char* path_to_so, int path_len, const char* so_name)


} // end of namespace


Loading…
Cancel
Save