|
Twitch SDK (Internal)
|
#include <converttosignedoperator.h>
Public Types | |
| using | InputSampleType = typename InputSource::SampleType |
| using | SampleType = std::make_signed_t< InputSampleType > |
Public Member Functions | |
| ConvertToSignedOperator (ContextType &context) | |
| InputSource & | GetInputSource () |
| SampleRange | GetSampleRange () const |
| SampleType | operator[] (size_t index) const |
Static Public Attributes | |
| static constexpr size_t | SampleRate = InputSource::SampleRate |
Private Attributes | |
| InputSource | mInputSource |
Converts an audio source with an unsigned integral sample type to a signed integral sample type of the same width.
| InputSource | Conforms to the AudioSource concept. Its SampleType must be integral and unsigned. |
Operator Type Properties: Operator Type: Unary Data Integrity: Lossless SampleType[in] must be unsigned and integral. SampleType[out] is signed, integral and the same width as SampleType[in]. SampleRate[in] == SampleRate[out] StartOffset[in] == StartOffset[out] Length[in] == Length[out]
| using ttv::ConvertToSignedOperator< InputSource, ContextType >::InputSampleType = typename InputSource::SampleType |
| using ttv::ConvertToSignedOperator< InputSource, ContextType >::SampleType = std::make_signed_t<InputSampleType> |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
static |
1.8.13