diff --git a/linux/freebob/JackFreebobDriver.cpp b/linux/freebob/JackFreebobDriver.cpp index eab1d01c..342f900b 100644 --- a/linux/freebob/JackFreebobDriver.cpp +++ b/linux/freebob/JackFreebobDriver.cpp @@ -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" { diff --git a/linux/freebob/JackFreebobDriver.h b/linux/freebob/JackFreebobDriver.h index 167b1cc6..25135992 100644 --- a/linux/freebob/JackFreebobDriver.h +++ b/linux/freebob/JackFreebobDriver.h @@ -88,8 +88,6 @@ class JackFreebobDriver : public JackAudioDriver int Write(); int SetBufferSize(jack_nframes_t nframes); - - void PrintState(); }; } // end of namespace