|
Twitch SDK (Internal)
|
#include <audioconvertpipeline.h>
Public Types | |
| using | InputSampleType = typename InputBufferFormat::SampleType |
| using | OutputSampleType = typename OutputBufferFormat::SampleType |
Public Member Functions | |
| AudioConvertPipeline (ContextType &context) | |
| void | BindInputBuffer (const InputSampleType *buffer, SampleRange range) |
| SampleRange | GetOutputSampleRange () const |
| SampleRange | TransferToOutputBuffer (OutputSampleType *buffer, SampleRange range) |
| void | UnbindInputBuffer () |
Static Public Attributes | |
| static constexpr size_t | InputChannelCount = InputBufferFormat::ChannelCount |
| static constexpr size_t | OutputChannelCount = OutputBufferFormat::ChannelCount |
Private Types | |
| using | OperatorChainTuple = BuildOperatorChainTuple< ContextType, InputBufferFormat, OutputBufferFormat > |
Private Member Functions | |
| template<size_t Index = 0> | |
| std::enable_if_t< Index< std::tuple_size< OperatorChainTuple >::value > BindOperatorChains(const InputSampleType *buffer, SampleRange range) { using OperatorChainToBind=std::tuple_element_t< Index, OperatorChainTuple >;RecursiveBinder< OperatorChainToBind >::RecurseAndBind(std::get< Index >mOperatorChains), buffer, range);BindOperatorChains< Index+1 >buffer, range);} template< size_t Index=0 > std::enable_if_t< Index >=std::tuple_size< OperatorChainTuple >::value > | BindOperatorChains (const InputSampleType *buffer, SampleRange range) |
| template<size_t Index = 0> | |
| std::enable_if_t<(Index< std::tuple_size< OperatorChainTuple >::value) &&(std::tuple_size< OperatorChainTuple >::value==1)> | TransferSamples (OutputSampleType *buffer, size_t inputIndex) |
| template<size_t Index = 0> | |
| std::enable_if_t<(Index< std::tuple_size< OperatorChainTuple >::value) &&(std::tuple_size< OperatorChainTuple >::value > 1)> | TransferSamples (OutputSampleType *buffer, size_t inputIndex) |
Private Attributes | |
| OperatorChainTuple | mOperatorChains |
| template<size_t Index = 0> | |
| Enable | |
A class providing a high level interface for translating between different audio formats. Note that this can either support inputs and outputs having the same number of channels, or a single input channel with multiple outputs (in which case the single channel is duplicated across all output channels).
| InputBufferFormat | The input audio format. See BufferFormat in dsputilities.h |
| OutputBufferFormat | The output audio format. See BufferFormat in dsputilities.h |
| ContextType | The audio context to be used with this pipeline. |
| using ttv::AudioConvertPipeline< InputBufferFormat, OutputBufferFormat, ContextType >::InputSampleType = typename InputBufferFormat::SampleType |
|
private |
| using ttv::AudioConvertPipeline< InputBufferFormat, OutputBufferFormat, ContextType >::OutputSampleType = typename OutputBufferFormat::SampleType |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
private |
|
static |
|
private |
|
static |
1.8.13