doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
vorbisfile.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <math.h>
#include "../vorbis/codec.h"
#include "../vorbis/vorbisfile.h"
#include "os.h"
#include "misc.h"

Go to the source code of this file.

Macros

#define CHUNKSIZE
 

Functions

int ov_clear (OggVorbis_File *vf)
 
int ov_open_callbacks (void *f, OggVorbis_File *vf, char *initial, long ibytes, ov_callbacks callbacks)
 
int ov_open (FILE *f, OggVorbis_File *vf, char *initial, long ibytes)
 
int ov_halfrate (OggVorbis_File *vf, int flag)
 
int ov_halfrate_p (OggVorbis_File *vf)
 
int ov_test_callbacks (void *f, 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_open (OggVorbis_File *vf)
 
long ov_streams (OggVorbis_File *vf)
 
long ov_seekable (OggVorbis_File *vf)
 
long ov_bitrate (OggVorbis_File *vf, int i)
 
long ov_bitrate_instant (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_page (OggVorbis_File *vf, ogg_int64_t pos)
 
int ov_pcm_seek (OggVorbis_File *vf, ogg_int64_t pos)
 
int ov_time_seek (OggVorbis_File *vf, double seconds)
 
int ov_time_seek_page (OggVorbis_File *vf, double seconds)
 
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 (OggVorbis_File *vf, char *buffer, int length, int bigendianp, int word, int sgned, int *bitstream)
 
long ov_read_float (OggVorbis_File *vf, float ***pcm_channels, int length, int *bitstream)
 
floatvorbis_window (vorbis_dsp_state *v, int W)
 
void _analysis_output_always (char *base, int i, float *v, int n, int bark, int dB, ogg_int64_t off)
 
int ov_crosslap (OggVorbis_File *vf1, OggVorbis_File *vf2)
 
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)
 

Macro Definition Documentation

#define CHUNKSIZE
Value:
8500 /* a shade over 8k; anyone using pages well
over 8k gets what they deserve */

Definition at line 61 of file vorbisfile.c.

Function Documentation

void _analysis_output_always ( char *  base,
int  i,
float v,
int  n,
int  bark,
int  dB,
ogg_int64_t  off 
)

Definition at line 67 of file analysis.c.

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 f,
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  length,
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 f,
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  seconds 
)

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  seconds 
)

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.

float* vorbis_window ( vorbis_dsp_state v,
int  W 
)

Definition at line 962 of file block.c.