template<typename InputSource, typename IntegralType, typename ContextType>
class ttv::ConvertToIntegralTypeOperator< InputSource, IntegralType, ContextType >
Converts an audio source with a floating-point sample type to an integral sample type.
- Template Parameters
-
| InputSource | Conforms to the AudioSource concept. Its SampleType must be floating-point. |
| IntegralType | The sample type to convert to. Must be integral and signed. |
| ContextType | A shared audio context type. |
Operator Type Properties: Operator Type: Unary Data Integrity: Lossy SampleType[in] must be floating point. SampleType[out] must be signed and integral. SampleRate[in] == SampleRate[out] StartOffset[in] == StartOffset[out] Length[in] == Length[out]