Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

CascadeAudioPlayer::SampleSet Class Reference

#include <CascadeAudioPlayer.h>

List of all members.

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
u8m_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


Detailed Description

of samples for visualization

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.

See also:
CascadeAudioPlayer::Client::OnVisualizePrepareDT()


Member Data Documentation

u32 CascadeAudioPlayer::SampleSet::m_nBitsPerSample
 

number of bits per sample

u32 CascadeAudioPlayer::SampleSet::m_nDurationMilliseconds
 

duration of the samples in the set; computed so you don't have to

u32 CascadeAudioPlayer::SampleSet::m_nNumChannels
 

number of channels of sample data

u32 CascadeAudioPlayer::SampleSet::m_nNumSamples
 

indicates the number of samples in the set

u32 CascadeAudioPlayer::SampleSet::m_nSampleBytes
 

indicates the number of bytes m_pSamples points to; computed so you don't have to

u32 CascadeAudioPlayer::SampleSet::m_nSampleRate
 

sample rate

u32 CascadeAudioPlayer::SampleSet::m_nSequenceNumber
 

starts at 0 in each stream, increments by 1 each time OnVisualizePrepare is called

u32 CascadeAudioPlayer::SampleSet::m_nStreamID
 

unique ID indicating which stream this sample set is from

u32 CascadeAudioPlayer::SampleSet::m_nTimestampMilliseconds
 

number of milliseconds into the audio at the start of the sample set

u8* CascadeAudioPlayer::SampleSet::m_pSamples
 

pointer to the samples


The documentation for this class was generated from the following file:
Generated on Sun Jul 24 14:27:18 2005 for Cascade Library by  doxygen 1.4.1