repo.or.cz
/
supercollider.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
class library: Reset has been renamed to OnError
[supercollider.git]
/
testsuite
/
supernova
/
buffer_manager_test.cpp
blob
d3200f51b72834af51944bc3a15c1d58319fdabb
1
#include <iostream>
2
#include <boost/test/unit_test.hpp>
3
4
#include
"server/buffer_manager.cpp"
5
6
7
using namespace
nova
;
8
9
10
BOOST_AUTO_TEST_CASE
(
buffer_manager_test
)
11
{
12
buffer_manager
bm
(
1024
);
13
bm
.
allocate_buffer
(
0
,
44100
,
2
);
14
bm
.
zero_buffer
(
0
);
15
bm
.
fill_samples
(
0
,
0
,
882000
,
0.2
);
16
bm
.
free_buffer
(
0
);
17
}