_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <sound_server.h>
Public Member Functions | |
CSample () | |
virtual | ~CSample () |
virtual int | Read (void *buf, int len)=0 |
Public Attributes | |
unsigned char | Channels |
unsigned char | SampleSize |
mono or stereo More... | |
unsigned int | Frequency |
sample size in bits More... | |
unsigned short | BitsPerSample |
frequency in hz More... | |
unsigned char * | Buffer |
bits in a sample 8/16/32 More... | |
int | Pos |
sample buffer More... | |
int | Len |
buffer position More... | |
RAW samples.
|
inline |
|
inlinevirtual |
|
pure virtual |
Implemented in CSampleFluidSynthStream, CSampleFluidSynth, CSampleVorbisStream, CSampleMikModStream, CSampleWavStream, CSampleVorbis, CSampleMikMod, and CSampleWav.
unsigned short CSample::BitsPerSample |
frequency in hz
unsigned char* CSample::Buffer |
bits in a sample 8/16/32
unsigned char CSample::Channels |
unsigned int CSample::Frequency |
sample size in bits
int CSample::Len |
buffer position
int CSample::Pos |
sample buffer
unsigned char CSample::SampleSize |
mono or stereo