X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test%2Faudio_processor_delay_test.cc;h=6fd644a7ea8dc18aefd0153f4e3dc36e935777da;hb=1685c3a144203b8f2b6db9605e4bb998a7fe7e71;hp=498b712da0285503cdc99f9ee5322f4ba5b5a6b9;hpb=ad78ae2389e9235943cd378ed1da82cecf7dbca9;p=dcpomatic.git diff --git a/test/audio_processor_delay_test.cc b/test/audio_processor_delay_test.cc index 498b712da..6fd644a7e 100644 --- a/test/audio_processor_delay_test.cc +++ b/test/audio_processor_delay_test.cc @@ -1,22 +1,28 @@ /* Copyright (C) 2015 Carl Hetherington - This program is free software; you can redistribute it and/or modify + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - This program is distributed in the hope that it will be useful, + DCP-o-matic is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with DCP-o-matic. If not, see . */ +/** @file test/audio_processor_delay_test.cc + * @brief Test the AudioDelay class. + * @ingroup selfcontained + */ + #include "lib/audio_delay.h" #include "lib/audio_buffers.h" #include @@ -25,7 +31,7 @@ using std::cerr; using std::cout; -using boost::shared_ptr; +using std::shared_ptr; #define CHECK_SAMPLE(c,f,r) \ if (fabs(out->data(c)[f] - (r)) > 0.1) { \