|
Nsound
0.9.4
|
#include <Nsound/Buffer.h>#include <Nsound/Plotter.h>#include <Nsound/Sine.h>#include <Nsound/Wavefile.h>#include "UnitTest.h"#include <cmath>#include <stdlib.h>#include <iostream>#include <sstream>
Go to the source code of this file.
Macros | |
| #define | THIS_FILE "BufferResample_UnitTest.cc" |
| #define | GAMMA 1.5e-14 |
Functions | |
| void | BufferResample_UnitTest () |
| #define THIS_FILE "BufferResample_UnitTest.cc" |
Definition at line 49 of file BufferResample_UnitTest.cc.
Referenced by BufferResample_UnitTest().
| #define GAMMA 1.5e-14 |
Definition at line 50 of file BufferResample_UnitTest.cc.
Referenced by BufferResample_UnitTest().
| void BufferResample_UnitTest | ( | ) |
Definition at line 52 of file BufferResample_UnitTest.cc.
References GAMMA, Nsound::Generator::generate(), Nsound::Buffer::getAbs(), Nsound::Buffer::getLength(), Nsound::Buffer::getMax(), Nsound::Buffer::getResample(), Nsound::Buffer::plot(), Nsound::Wavefile::setDefaultSampleSize(), Nsound::Wavefile::setIEEEFloat(), Nsound::Plotter::show(), SUCCESS, TEST_ERROR_HEADER, TEST_HEADER, and THIS_FILE.
Referenced by main().
1.8.6