libpsynth 0.2.1
Public Member Functions
psynth::sound::default_sample_converter Struct Reference

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>

List of all members.

Public Member Functions

template<typename Ch1 , typename Ch2 >
void operator() (const Ch1 &src, Ch2 &dst) const

Detailed Description

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.


Member Function Documentation

template<typename Ch1 , typename Ch2 >
void psynth::sound::default_sample_converter::operator() ( const Ch1 &  src,
Ch2 &  dst 
) const [inline]

The documentation for this struct was generated from the following file: