#include <errno.h>
#include "shared/shared.h"
#include "sound.h"
#include "client/sound/vorbis.h"
#include "stb_vorbis.c"
Go to the source code of this file.
Macros | |
#define | STB_VORBIS_NO_PUSHDATA_API |
Enumerations | |
enum | { MAX_NUM_OGGTRACKS = 32 } |
enum | GameType { other, xatrix, rogue } |
Functions | |
static int | getMappedGOGtrack (int track, enum GameType gameType) |
void | OGG_InitTrackList (void) |
static void | OGG_Read (void) |
void | OGG_Stream (void) |
void | OGG_PlayTrack (int trackNo) |
static void | OGG_Info (void) |
void | OGG_Stop (void) |
static void | OGG_TogglePlayback (void) |
void | OGG_HelpMsg (void) |
void | OGG_Cmd (void) |
void | OGG_SaveState (void) |
void | OGG_RecoverState (void) |
static void | ogg_enable_changed (cvar_t *self) |
void | OGG_Init (void) |
void | OGG_Shutdown (void) |
Variables | |
static cvar_t * | ogg_shuffle |
static cvar_t * | ogg_ignoretrack0 |
static cvar_t * | ogg_volume |
static cvar_t * | ogg_enable |
static int | ogg_curfile |
static int | ogg_numbufs |
static int | ogg_numsamples |
static ogg_status_t | ogg_status |
static stb_vorbis * | ogg_file |
static qboolean | ogg_started |
static char * | ogg_tracks [MAX_NUM_OGGTRACKS] |
static int | ogg_maxfileindex |
struct { | |
qboolean saved | |
int curfile | |
int numsamples | |
} | ogg_saved_state |
anonymous enum |
enum GameType |
Definition at line 549 of file ogg.c.
Referenced by OGG_Init().
|
static |
Definition at line 323 of file ogg.c.
Referenced by CL_PrepRefresh(), OGG_Cmd(), OGG_Read(), and OGG_RecoverState().
Definition at line 488 of file ogg.c.
Referenced by OGG_Cmd(), OGG_PlayTrack(), OGG_Shutdown(), and SCR_PlayCinematic().
|
static |
Definition at line 50 of file ogg.c.
Referenced by OGG_Info(), OGG_Init(), OGG_PlayTrack(), OGG_Read(), and OGG_SaveState().
|
static |
Definition at line 49 of file ogg.c.
Referenced by ogg_enable_changed(), OGG_Init(), and OGG_PlayTrack().
|
static |
Definition at line 54 of file ogg.c.
Referenced by OGG_Info(), OGG_PlayTrack(), OGG_Read(), OGG_RecoverState(), and OGG_Stop().
|
static |
Definition at line 47 of file ogg.c.
Referenced by OGG_Init(), and OGG_PlayTrack().
|
static |
Definition at line 59 of file ogg.c.
Referenced by OGG_Cmd(), OGG_Info(), OGG_InitTrackList(), OGG_PlayTrack(), and OGG_Shutdown().
|
static |
Definition at line 51 of file ogg.c.
Referenced by OGG_Read(), OGG_Stop(), OGG_Stream(), and OGG_TogglePlayback().
|
static |
Definition at line 52 of file ogg.c.
Referenced by OGG_Init(), OGG_PlayTrack(), OGG_Read(), OGG_RecoverState(), and OGG_SaveState().
struct { ... } ogg_saved_state |
Referenced by OGG_RecoverState(), and OGG_SaveState().
|
static |
Definition at line 46 of file ogg.c.
Referenced by OGG_Init(), OGG_PlayTrack(), and OGG_RecoverState().
|
static |
Definition at line 55 of file ogg.c.
Referenced by OGG_Init(), OGG_Shutdown(), and OGG_Stream().
|
static |
Definition at line 53 of file ogg.c.
Referenced by ogg_enable_changed(), OGG_Info(), OGG_Init(), OGG_PlayTrack(), OGG_Read(), OGG_SaveState(), OGG_Stop(), OGG_Stream(), and OGG_TogglePlayback().
|
static |
Definition at line 58 of file ogg.c.
Referenced by OGG_Info(), OGG_InitTrackList(), OGG_PlayTrack(), and OGG_Shutdown().
|
static |
Definition at line 48 of file ogg.c.
Referenced by OGG_Init(), and OGG_Read().
qboolean saved |
Definition at line 69 of file ogg.c.
Referenced by PutClientInServer().