mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
NO-OP: whitespace
This commit is contained in:
parent
ef72afb963
commit
1ed0e88e23
1 changed files with 17 additions and 19 deletions
|
|
@ -38,11 +38,10 @@ using std::endl;
|
||||||
void
|
void
|
||||||
BufferManager::init (uint32_t size)
|
BufferManager::init (uint32_t size)
|
||||||
{
|
{
|
||||||
thread_buffers = new ThreadBufferFIFO (size+1); // must be one larger than requested
|
thread_buffers = new ThreadBufferFIFO (size + 1); // must be one larger than requested
|
||||||
thread_buffers_list = new ThreadBufferList;
|
thread_buffers_list = new ThreadBufferList;
|
||||||
|
|
||||||
/* and populate with actual ThreadBuffers
|
/* and populate with actual ThreadBuffers */
|
||||||
*/
|
|
||||||
|
|
||||||
for (uint32_t n = 0; n < size; ++n) {
|
for (uint32_t n = 0; n < size; ++n) {
|
||||||
ThreadBuffers* ts = new ThreadBuffers;
|
ThreadBuffers* ts = new ThreadBuffers;
|
||||||
|
|
@ -50,7 +49,6 @@ BufferManager::init (uint32_t size)
|
||||||
thread_buffers_list->push_back (ts);
|
thread_buffers_list->push_back (ts);
|
||||||
}
|
}
|
||||||
// cerr << "Initialized thread buffers, readable count now " << thread_buffers->read_space() << endl;
|
// cerr << "Initialized thread buffers, readable count now " << thread_buffers->read_space() << endl;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ThreadBuffers*
|
ThreadBuffers*
|
||||||
|
|
@ -80,7 +78,7 @@ BufferManager::ensure_buffers (ChanCount howmany, size_t custom)
|
||||||
{
|
{
|
||||||
/* this is protected by the audioengine's process lock: we do not */
|
/* this is protected by the audioengine's process lock: we do not */
|
||||||
|
|
||||||
for (ThreadBufferList::iterator i = thread_buffers_list->begin(); i != thread_buffers_list->end(); ++i) {
|
for (ThreadBufferList::iterator i = thread_buffers_list->begin (); i != thread_buffers_list->end (); ++i) {
|
||||||
(*i)->ensure_buffers (howmany, custom);
|
(*i)->ensure_buffers (howmany, custom);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue