#include <CascadeAudioPlayer.h>
Public Attributes | |
u32 | m_nStreamID |
unique ID indicating which stream this sample set is from | |
u32 | m_nSequenceNumber |
starts at 0 in each stream, increments by 1 each time OnVisualizePrepare is called | |
u32 | m_nNumSamples |
indicates the number of samples in the set | |
u8 * | m_pSamples |
pointer to the samples | |
u32 | m_nTimestampMilliseconds |
number of milliseconds into the audio at the start of the sample set | |
u32 | m_nDurationMilliseconds |
duration of the samples in the set; computed so you don't have to | |
u32 | m_nSampleBytes |
indicates the number of bytes m_pSamples points to; computed so you don't have to | |
u32 | m_nNumChannels |
number of channels of sample data | |
u32 | m_nSampleRate |
sample rate | |
u32 | m_nBitsPerSample |
number of bits per sample |
SampleSet contains all the data necessary to perform audio visualizations of any type. SampleSets are passed into OnVisualizePrepareDT() to allow clients to generate visualization data from the sample set.
|
number of bits per sample
|
|
duration of the samples in the set; computed so you don't have to
|
|
number of channels of sample data
|
|
indicates the number of samples in the set
|
|
indicates the number of bytes m_pSamples points to; computed so you don't have to
|
|
sample rate
|
|
starts at 0 in each stream, increments by 1 each time OnVisualizePrepare is called
|
|
unique ID indicating which stream this sample set is from
|
|
number of milliseconds into the audio at the start of the sample set
|
|
pointer to the samples
|