Mercurial > hg > piper-cpp
changeset 197:cbbc806097cf
Direct initialisation
| author | Lucas Thompson <dev@lucas.im> | 
|---|---|
| date | Tue, 07 Feb 2017 20:42:20 +0000 | 
| parents | 4d25a90f639b | 
| children | 94bab7bfbc78 | 
| files | test/vamp-client/tst_PluginStub.cpp | 
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] | 
line wrap: on
 line diff
--- a/test/vamp-client/tst_PluginStub.cpp Tue Feb 07 18:35:52 2017 +0000 +++ b/test/vamp-client/tst_PluginStub.cpp Tue Feb 07 20:42:20 2017 +0000 @@ -141,7 +141,7 @@ REQUIRE( initWithPreferredFraming() == false ); REQUIRE( initWithPreferredFraming() ); - const AudioBuffer monoAudio = { + const AudioBuffer monoAudio { std::vector<float>(vampPiperAdapter.getPreferredBlockSize()) }; const std::vector<const float*> channelPtrs {
