Twitch SDK (Internal)
Public Types | Static Public Attributes | List of all members
ttv::OperatorChainBuilder< ContextType, InputBufferFormat, OutputBufferFormat, SelectedChannelIndex >::InputSourceWrapper Struct Reference

#include <operatorchainbuilder.h>

Public Types

template<typename T = void>
using Unwrap = PCMBufferAudioSource< InputBufferFormat, ContextType, SelectedChannelIndex >
 
using SampleType = typename InputBufferFormat::SampleType
 

Static Public Attributes

static constexpr size_t SampleRate = InputBufferFormat::SampleRate
 

Detailed Description

template<typename ContextType, typename InputBufferFormat, typename OutputBufferFormat, size_t SelectedChannelIndex>
struct ttv::OperatorChainBuilder< ContextType, InputBufferFormat, OutputBufferFormat, SelectedChannelIndex >::InputSourceWrapper

All of these operator wrappers are here to keep us from actually instantiating the operator classes in the "false" branches of the conditionals below. Instead, the algorithm just chains a bunch of these wrappers together and then unwraps them at the end.

Member Typedef Documentation

◆ SampleType

template<typename ContextType, typename InputBufferFormat, typename OutputBufferFormat, size_t SelectedChannelIndex>
using ttv::OperatorChainBuilder< ContextType, InputBufferFormat, OutputBufferFormat, SelectedChannelIndex >::InputSourceWrapper::SampleType = typename InputBufferFormat::SampleType

◆ Unwrap

template<typename ContextType, typename InputBufferFormat, typename OutputBufferFormat, size_t SelectedChannelIndex>
template<typename T = void>
using ttv::OperatorChainBuilder< ContextType, InputBufferFormat, OutputBufferFormat, SelectedChannelIndex >::InputSourceWrapper::Unwrap = PCMBufferAudioSource<InputBufferFormat, ContextType, SelectedChannelIndex>

Member Data Documentation

◆ SampleRate

template<typename ContextType, typename InputBufferFormat, typename OutputBufferFormat, size_t SelectedChannelIndex>
constexpr size_t ttv::OperatorChainBuilder< ContextType, InputBufferFormat, OutputBufferFormat, SelectedChannelIndex >::InputSourceWrapper::SampleRate = InputBufferFormat::SampleRate
static

The documentation for this struct was generated from the following file: