Commit e4c2f68f authored by sletz's avatar sletz
Browse files

Compile loopback backend in Linux and Solaris versions, update OSX project.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3608 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 4fa94984
......@@ -19,7 +19,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "JackSystemDeps.h"
#include "JackServerGlobals.h"
#include "JackGlobals.h"
#include "JackLoopbackDriver.h"
#include "JackDriverLoader.h"
#include "JackEngineControl.h"
......@@ -94,14 +94,9 @@ extern "C"
break;
}
}
Jack::JackDriverClientInterface* driver = new Jack::JackLoopbackDriver(engine, table);
if (driver->Open(Jack::JackServerGlobals::fInstance->GetEngineControl()->fBufferSize,
Jack::JackServerGlobals::fInstance->GetEngineControl()->fSampleRate,
1, 1,
channels, channels,
false,
"loopback", "loopback", 0, 0) == 0) {
if (driver->Open(Jack::GetEngineControl()->fBufferSize, Jack::GetEngineControl()->fSampleRate, 1, 1, channels, channels, false, "loopback", "loopback", 0, 0) == 0) {
return driver;
} else {
delete driver;
......
......@@ -63,3 +63,4 @@ def build(bld):
create_jack_driver_obj(bld, 'net', '../common/JackNetDriver.cpp')
create_jack_driver_obj(bld, 'loopback', '../common/JackLoopbackDriver.cpp')
This diff is collapsed.
......@@ -16,6 +16,7 @@ sudo cp jackdmp /usr/local/bin
sudo install -d /usr/local/lib/jackmp
sudo cp jack_coreaudio.so /usr/local/lib/jackmp
sudo cp jack_dummy.so /usr/local/lib/jackmp
sudo cp jack_loopback.so /usr/local/lib/jackmp
[ -f jack_net.so ] && sudo cp jack_net.so /usr/local/lib/jackmp
# Copy tools
......
......@@ -34,3 +34,4 @@ def build(bld):
create_jack_driver_obj(bld, 'net', '../common/JackNetDriver.cpp')
create_jack_driver_obj(bld, 'loopback', '../common/JackLoopbackDriver.cpp')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment