Browse Source

Cleanup

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1575 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.67
sletz 18 years ago
parent
commit
f9b93f3544
2 changed files with 0 additions and 31 deletions
  1. +0
    -29
      linux/freebob/JackFreebobDriver.cpp
  2. +0
    -2
      linux/freebob/JackFreebobDriver.h

+ 0
- 29
linux/freebob/JackFreebobDriver.cpp View File

@@ -957,37 +957,8 @@ JackFreebobDriver::jack_driver_nt_init (jack_driver_nt_t * driver)
driver->nt_run_cycle = 0;
}

void JackFreebobDriver::PrintState()
{
std::cout << "JackFreebobDriver State" << std::endl;

int port_index;

std::cout << "Input ports" << std::endl;

for (int i = 0; i < fPlaybackChannels; i++) {
port_index = fCapturePortList[i];
JackPort* port = fGraphManager->GetPort(port_index);
std::cout << port->GetName() << std::endl;
//if (fGraphManager->IsConnected(port_index)) {}
if (fGraphManager->GetConnectionsNum(port_index)) {}
}

std::cout << "Output ports" << std::endl;

for (int i = 0; i < fCaptureChannels; i++) {
port_index = fPlaybackPortList[i];
JackPort* port = fGraphManager->GetPort(port_index);
std::cout << port->GetName() << std::endl;
//if (fGraphManager->IsConnected(port_index)) {}
if (fGraphManager->GetConnectionsNum(port_index)) {}
}
}


} // end of namespace


#ifdef __cplusplus
extern "C"
{


+ 0
- 2
linux/freebob/JackFreebobDriver.h View File

@@ -88,8 +88,6 @@ class JackFreebobDriver : public JackAudioDriver
int Write();

int SetBufferSize(jack_nframes_t nframes);

void PrintState();
};

} // end of namespace


Loading…
Cancel
Save