|
libpsynth 0.2.1
|
A sample is convertible to another one if the sample_convert algorithm is defined for the two samples.
More...
#include <concept.hpp>
Public Member Functions | |
| void | constraints () |
Public Attributes | |
| SrcSample | src |
| DstSample | dst |
A sample is convertible to another one if the sample_convert algorithm is defined for the two samples.
Convertibility is non-symmetric and implies that one sample can be converted to another. Conversion is explicit and often lossy operation.
concept SampleConvertibleConcept<SampleConcept SrcSample,
SampleValueConcept DstSample> {
DstSample sample_convert(const SrcSample&);
};
| void psynth::sound::SampleConvertibleConcept< SrcSample, DstSample >::constraints | ( | ) | [inline] |
| DstSample psynth::sound::SampleConvertibleConcept< SrcSample, DstSample >::dst |
| SrcSample psynth::sound::SampleConvertibleConcept< SrcSample, DstSample >::src |
1.7.4