projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move a few declarations to first use.
[ardour.git]
/
libs
/
ardour
/
buffer_manager.cc
diff --git
a/libs/ardour/buffer_manager.cc
b/libs/ardour/buffer_manager.cc
index 821360179817956f75d4d6528929da58330afacf..5a2d941eafc89ec4b6eca62f9a28f62094924444 100644
(file)
--- a/
libs/ardour/buffer_manager.cc
+++ b/
libs/ardour/buffer_manager.cc
@@
-18,7
+18,11
@@
*/
#include <iostream>
*/
#include <iostream>
+
+#include "pbd/compose.h"
+
#include "ardour/buffer_manager.h"
#include "ardour/buffer_manager.h"
+#include "ardour/debug.h"
#include "ardour/thread_buffers.h"
using namespace ARDOUR;
#include "ardour/thread_buffers.h"
using namespace ARDOUR;
@@
-34,10
+38,10
@@
BufferManager::init (uint32_t size)
thread_buffers = new ThreadBufferFIFO (size+1); // must be one larger than requested
thread_buffers_list = new ThreadBufferList;
thread_buffers = new ThreadBufferFIFO (size+1); // must be one larger than requested
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;
thread_buffers->write (&ts, 1);
thread_buffers_list->push_back (ts);
ThreadBuffers* ts = new ThreadBuffers;
thread_buffers->write (&ts, 1);
thread_buffers_list->push_back (ts);