Mercurial > hg > piper-cpp
diff test/vamp-client/tst_PluginStub.cpp @ 197:cbbc806097cf
Direct initialisation
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Tue, 07 Feb 2017 20:42:20 +0000 |
parents | 4d25a90f639b |
children | 5f71b038d193 |
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 {