remove babbling torrent of debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@6889 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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&
|
||||
|
||||
Reference in New Issue
Block a user