doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Typedefs | Functions
vorbisfile.h File Reference
#include <stdio.h>
#include "codec.h"

Go to the source code of this file.

Classes

struct  ov_callbacks
 
struct  OggVorbis_File
 

Macros

#define NOTOPEN   0
 
#define PARTOPEN   1
 
#define OPENED   2
 
#define STREAMSET   3
 
#define INITSET   4
 

Typedefs

typedef struct OggVorbis_File OggVorbis_File
 

Functions

int ov_clear (OggVorbis_File *vf)
 
int ov_open (FILE *f, OggVorbis_File *vf, char *initial, long ibytes)
 
int ov_open_callbacks (void *datasource, OggVorbis_File *vf, char *initial, long ibytes, ov_callbacks callbacks)
 
int ov_test (FILE *f, OggVorbis_File *vf, char *initial, long ibytes)
 
int ov_test_callbacks (void *datasource, OggVorbis_File *vf, char *initial, long ibytes, ov_callbacks callbacks)
 
int ov_test_open (OggVorbis_File *vf)
 
long ov_bitrate (OggVorbis_File *vf, int i)
 
long ov_bitrate_instant (OggVorbis_File *vf)
 
long ov_streams (OggVorbis_File *vf)
 
long ov_seekable (OggVorbis_File *vf)
 
long ov_serialnumber (OggVorbis_File *vf, int i)
 
ogg_int64_t ov_raw_total (OggVorbis_File *vf, int i)
 
ogg_int64_t ov_pcm_total (OggVorbis_File *vf, int i)
 
double ov_TIME_Total (OggVorbis_File *vf, int i)
 
int ov_raw_seek (OggVorbis_File *vf, ogg_int64_t pos)
 
int ov_pcm_seek (OggVorbis_File *vf, ogg_int64_t pos)
 
int ov_pcm_seek_page (OggVorbis_File *vf, ogg_int64_t pos)
 
int ov_time_seek (OggVorbis_File *vf, double pos)
 
int ov_time_seek_page (OggVorbis_File *vf, double pos)
 
int ov_raw_seek_lap (OggVorbis_File *vf, ogg_int64_t pos)
 
int ov_pcm_seek_lap (OggVorbis_File *vf, ogg_int64_t pos)
 
int ov_pcm_seek_page_lap (OggVorbis_File *vf, ogg_int64_t pos)
 
int ov_time_seek_lap (OggVorbis_File *vf, double pos)
 
int ov_time_seek_page_lap (OggVorbis_File *vf, double pos)
 
ogg_int64_t ov_raw_tell (OggVorbis_File *vf)
 
ogg_int64_t ov_pcm_tell (OggVorbis_File *vf)
 
double ov_TIME_Tell (OggVorbis_File *vf)
 
vorbis_infoov_info (OggVorbis_File *vf, int link)
 
vorbis_commentov_comment (OggVorbis_File *vf, int link)
 
long ov_read_float (OggVorbis_File *vf, float ***pcm_channels, int samples, int *bitstream)
 
long ov_read (OggVorbis_File *vf, char *buffer, int length, int bigendianp, int word, int sgned, int *bitstream)
 
int ov_crosslap (OggVorbis_File *vf1, OggVorbis_File *vf2)
 
int ov_halfrate (OggVorbis_File *vf, int flag)
 
int ov_halfrate_p (OggVorbis_File *vf)
 

Macro Definition Documentation

#define INITSET   4

Definition at line 50 of file vorbisfile.h.

#define NOTOPEN   0

Definition at line 46 of file vorbisfile.h.

#define OPENED   2

Definition at line 48 of file vorbisfile.h.

#define PARTOPEN   1

Definition at line 47 of file vorbisfile.h.

#define STREAMSET   3

Definition at line 49 of file vorbisfile.h.

Typedef Documentation

Function Documentation

long ov_bitrate ( OggVorbis_File vf,
int  i 
)

Definition at line 821 of file vorbisfile.c.

long ov_bitrate_instant ( OggVorbis_File vf)

Definition at line 863 of file vorbisfile.c.

int ov_clear ( OggVorbis_File vf)

Definition at line 692 of file vorbisfile.c.

vorbis_comment* ov_comment ( OggVorbis_File vf,
int  link 
)

Definition at line 1472 of file vorbisfile.c.

int ov_crosslap ( OggVorbis_File vf1,
OggVorbis_File vf2 
)

Definition at line 1815 of file vorbisfile.c.

int ov_halfrate ( OggVorbis_File vf,
int  flag 
)

Definition at line 750 of file vorbisfile.c.

int ov_halfrate_p ( OggVorbis_File vf)

Definition at line 770 of file vorbisfile.c.

vorbis_info* ov_info ( OggVorbis_File vf,
int  link 
)

Definition at line 1454 of file vorbisfile.c.

int ov_open ( FILE *  f,
OggVorbis_File vf,
char *  initial,
long  ibytes 
)

Definition at line 736 of file vorbisfile.c.

int ov_open_callbacks ( void datasource,
OggVorbis_File vf,
char *  initial,
long  ibytes,
ov_callbacks  callbacks 
)

Definition at line 729 of file vorbisfile.c.

int ov_pcm_seek ( OggVorbis_File vf,
ogg_int64_t  pos 
)

Definition at line 1265 of file vorbisfile.c.

int ov_pcm_seek_lap ( OggVorbis_File vf,
ogg_int64_t  pos 
)

Definition at line 1918 of file vorbisfile.c.

int ov_pcm_seek_page ( OggVorbis_File vf,
ogg_int64_t  pos 
)

Definition at line 1094 of file vorbisfile.c.

int ov_pcm_seek_page_lap ( OggVorbis_File vf,
ogg_int64_t  pos 
)

Definition at line 1922 of file vorbisfile.c.

ogg_int64_t ov_pcm_tell ( OggVorbis_File vf)

Definition at line 1419 of file vorbisfile.c.

ogg_int64_t ov_pcm_total ( OggVorbis_File vf,
int  i 
)

Definition at line 909 of file vorbisfile.c.

int ov_raw_seek ( OggVorbis_File vf,
ogg_int64_t  pos 
)

Definition at line 949 of file vorbisfile.c.

int ov_raw_seek_lap ( OggVorbis_File vf,
ogg_int64_t  pos 
)

Definition at line 1914 of file vorbisfile.c.

ogg_int64_t ov_raw_tell ( OggVorbis_File vf)

Definition at line 1413 of file vorbisfile.c.

ogg_int64_t ov_raw_total ( OggVorbis_File vf,
int  i 
)

Definition at line 890 of file vorbisfile.c.

long ov_read ( OggVorbis_File vf,
char *  buffer,
int  length,
int  bigendianp,
int  word,
int  sgned,
int bitstream 
)

Definition at line 1527 of file vorbisfile.c.

long ov_read_float ( OggVorbis_File vf,
float ***  pcm_channels,
int  samples,
int bitstream 
)

Definition at line 1672 of file vorbisfile.c.

long ov_seekable ( OggVorbis_File vf)

Definition at line 808 of file vorbisfile.c.

long ov_serialnumber ( OggVorbis_File vf,
int  i 
)

Definition at line 875 of file vorbisfile.c.

long ov_streams ( OggVorbis_File vf)

Definition at line 803 of file vorbisfile.c.

int ov_test ( FILE *  f,
OggVorbis_File vf,
char *  initial,
long  ibytes 
)

Definition at line 786 of file vorbisfile.c.

int ov_test_callbacks ( void datasource,
OggVorbis_File vf,
char *  initial,
long  ibytes,
ov_callbacks  callbacks 
)

Definition at line 780 of file vorbisfile.c.

int ov_test_open ( OggVorbis_File vf)

Definition at line 797 of file vorbisfile.c.

int ov_time_seek ( OggVorbis_File vf,
double  pos 
)

Definition at line 1359 of file vorbisfile.c.

int ov_time_seek_lap ( OggVorbis_File vf,
double  pos 
)

Definition at line 1975 of file vorbisfile.c.

int ov_time_seek_page ( OggVorbis_File vf,
double  pos 
)

Definition at line 1386 of file vorbisfile.c.

int ov_time_seek_page_lap ( OggVorbis_File vf,
double  pos 
)

Definition at line 1979 of file vorbisfile.c.

double ov_TIME_Tell ( OggVorbis_File vf)

Definition at line 1425 of file vorbisfile.c.

double ov_TIME_Total ( OggVorbis_File vf,
int  i 
)

Definition at line 928 of file vorbisfile.c.