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:
parent
5617286860
commit
a465c2bd36
|
@ -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();
|
||||
|
|
|
@ -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…
Reference in New Issue