$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 "stratagus.h"
#include <vorbis/codec.h>
#include <vorbis/vorbisfile.h>
#include <theora/theora.h>
#include "SDL.h"
#include "SDL_endian.h"
#include "iolib.h"
#include "movie.h"
#include "sound_server.h"
Classes | |
class | CSampleVorbis |
class | CSampleVorbisStream |
Functions | |
ogg.cpp - ogg support | |
int | OggGetNextPage (ogg_page *page, ogg_sync_state *sync, CFile *f) |
int | VorbisProcessData (OggData *data, char *buffer) |
int | OggInit (CFile *f, OggData *data) |
void | OggFree (OggData *data) |
int | VorbisStreamRead (CSample *sample, OggData *data, void *buf, int len) |
CSample * | LoadVorbis (const char *name, int flags) |
Load a wav file. |
CSample* LoadVorbis | ( | const char * | name, | |
int | flags | |||
) |
Load a wav file.
Load vorbis.
name | File name. | |
flags | Load flags. |
void OggFree | ( | OggData * | data | ) |
int OggGetNextPage | ( | ogg_page * | page, | |
ogg_sync_state * | sync, | |||
CFile * | f | |||
) |
int VorbisProcessData | ( | OggData * | data, | |
char * | buffer | |||
) |