$treeview $search $mathjax
Stratagus
2.2.7
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ 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 | |
unsigned int | Frequency |
sample size in bits | |
unsigned short | BitsPerSample |
frequency in hz | |
unsigned char * | Buffer |
bits in a sample 8/16/32 | |
int | Pos |
sample buffer | |
int | Len |
buffer position |
CSample::CSample | ( | ) | [inline] |
virtual CSample::~CSample | ( | ) | [inline, virtual] |
virtual int CSample::Read | ( | void * | buf, | |
int | len | |||
) | [pure virtual] |
Implemented in CSampleMikMod, CSampleMikModStream, CSampleVorbis, CSampleVorbisStream, CSampleWav, and CSampleWavStream.
unsigned char CSample::Channels |
unsigned char CSample::SampleSize |
mono or stereo
unsigned int CSample::Frequency |
sample size in bits
unsigned short CSample::BitsPerSample |
frequency in hz
unsigned char* CSample::Buffer |
bits in a sample 8/16/32
int CSample::Pos |
sample buffer
int CSample::Len |
buffer position