|
Twitch SDK (Internal)
|
#include <pcmbufferaudiosource.h>
Public Types | |
| using | SampleType = typename BufferFormat::SampleType |
Public Member Functions | |
| PCMBufferAudioSource (ContextType &context) | |
| void | Bind (const SampleType *buffer, SampleRange range) |
| void | Unbind () |
| SampleRange | GetSampleRange () const |
| SampleType | operator[] (size_t index) const |
Static Public Attributes | |
| static constexpr size_t | SampleRate = BufferFormat::SampleRate |
| static constexpr size_t | ChannelCount = BufferFormat::ChannelCount |
Private Attributes | |
| const SampleType * | mBuffer |
| SampleRange | mRange |
An AudioSource representing a channel of PCM audio backed by a buffer of (possibly interleaved) samples.
| BufferFormat | A bundle of parameters that describes the format of the audio data. See BufferFormat in dsputilities.h |
| SelectedChannelIndex | The index of the channel containing the data. In PCM audio, the channels are typically interleaved, so this is to ensure that we only index into the samples for that particular channel. |
| using ttv::PCMBufferAudioSource< BufferFormat, ContextType, SelectedChannelIndex >::SampleType = typename BufferFormat::SampleType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
private |
|
private |
|
static |
1.8.13