|
libpsynth 0.2.1
|
Same as sample_converter, except it takes the destination sample by reference, which allows us to move the templates from the class level to the method level. More...
#include <sample_algorithm.hpp>
Public Member Functions | |
| template<typename Ch1 , typename Ch2 > | |
| void | operator() (const Ch1 &src, Ch2 &dst) const |
Same as sample_converter, except it takes the destination sample by reference, which allows us to move the templates from the class level to the method level.
This is important when invoking it on heterogeneous pixels.
| void psynth::sound::default_sample_converter::operator() | ( | const Ch1 & | src, |
| Ch2 & | dst | ||
| ) | const [inline] |
1.7.4