template<typename InputSource, typename OutputSampleType, typename ContextType>
class ttv::DecreaseBitDepthOperator< InputSource, OutputSampleType, ContextType >
Converts an audio source to one with a smaller bit depth.
- Template Parameters
-
| InputSource | Conforms to the AudioSource concept. Its SampleType must be integral and signed. |
| OutputSampleType | The sample type to convert to. Must be integral, signed, and smaller than the input type. |
Operator Type Properties: Operator Type: Unary Data Integrity: Lossy SampleType[in] must be signed and integral. SampleType[out] must be signed and integral, and smaller than the input sample type. SampleRate[in] == SampleRate[out] StartOffset[in] == StartOffset[out] Length[in] == Length[out]