Remove GPL dependency from JackTools.

JackTools is a part of the LGPL licenced jacklib and should not pull in
GPL licensed code.
This commit is contained in:
Viktor Wilhelmsson 2019-03-26 13:36:08 +01:00 committed by Filipe Coelho
parent 5617286860
commit a465c2bd36
2 changed files with 2 additions and 8 deletions

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();

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