summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-04-13 21:05:59 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-04-13 21:05:59 +0000
commita83157de45d79dbd17721d729f3ac014e84e9573 (patch)
treef1392558786c0f576eb5fcff99572c7d32e54e70
parent3ea10b38bbb4b471178793f68fbd3a0ee74449f6 (diff)
remove babbling torrent of debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@6889 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--libs/ardour/audioengine.cc10
-rw-r--r--libs/ardour/buffer_manager.cc13
-rw-r--r--libs/ardour/process_thread.cc2
3 files changed, 0 insertions, 25 deletions
diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc
index 196482f143..47704224cb 100644
--- a/libs/ardour/audioengine.cc
+++ b/libs/ardour/audioengine.cc
@@ -385,7 +385,6 @@ void
AudioEngine::finish_process_cycle (int status)
{
GET_PRIVATE_JACK_POINTER(_jack);
- cerr << "signal process cycle end\n";
jack_cycle_signal (_jack, 0);
}
@@ -395,22 +394,13 @@ AudioEngine::process_thread ()
/* JACK doesn't do this for us when we use the wait API
*/
- cerr << "JACK process thread is here\n";
-
_thread_init_callback (0);
- cerr << " its initialized\n";
-
_main_thread = new ProcessThread;
- cerr << " we have ProcThread\n";
-
while (1) {
- cerr << "getting client ptr from " << _jack << endl;
GET_PRIVATE_JACK_POINTER_RET(_jack,0);
- cerr << "Wait for JACK\n";
jack_nframes_t nframes = jack_cycle_wait (_jack);
- cerr << "run process\n";
if (process_callback (nframes)) {
return 0;
diff --git a/libs/ardour/buffer_manager.cc b/libs/ardour/buffer_manager.cc
index 3436dac72d..edaf0907e8 100644
--- a/libs/ardour/buffer_manager.cc
+++ b/libs/ardour/buffer_manager.cc
@@ -34,21 +34,10 @@ BufferManager::init (uint32_t size)
/* and populate with actual ThreadBuffers
*/
- std::cerr << "BM: initial read space: " << thread_buffers->read_space() << std::endl;
-
for (uint32_t n = 0; n < size; ++n) {
ThreadBuffers* ts = new ThreadBuffers;
thread_buffers->write (&ts, 1);
- std::cerr << "BM: added one, read = " << thread_buffers->read_space()
- << " write = " << thread_buffers->write_space()
- << std::endl;
}
-
- std::cerr << "BM: final, read = " << thread_buffers->read_space()
- << " write = " << thread_buffers->write_space()
- << std::endl;
-
- std::cerr << "BUFFER MANAGER INITIALIZED WITH " << size << " BUFFERs\n";
}
ThreadBuffers*
@@ -74,8 +63,6 @@ BufferManager::ensure_buffers (ChanCount howmany)
{
/* this is protected by the audioengine's process lock: we do not */
- std::cerr << "BufMgr: ensure " << thread_buffers->bufsize() - 1 << " buffers match " << howmany << std::endl;
-
for (uint32_t n = 0; n < thread_buffers->bufsize() - 1; ++n) {
thread_buffers->buffer()[n]->ensure_buffers (howmany);
}
diff --git a/libs/ardour/process_thread.cc b/libs/ardour/process_thread.cc
index e36639aaf5..046bc2015f 100644
--- a/libs/ardour/process_thread.cc
+++ b/libs/ardour/process_thread.cc
@@ -59,7 +59,6 @@ ProcessThread::get_buffers ()
assert (tb);
_private_thread_buffers->set (tb);
- cerr << "ProcThread " << this << " using TBs at " << tb << " (aka. " << _private_thread_buffers->get() << endl;
}
void
@@ -69,7 +68,6 @@ ProcessThread::drop_buffers ()
assert (tb);
BufferManager::put_thread_buffers (tb);
_private_thread_buffers->set (0);
- cerr << "ProcThread " << this << " dropped TBs\n";
}
BufferSet&