libvorbis 1.3.7
Data Structures | Macros | Typedefs | Functions
vorbisfile.h File Reference
#include <stdio.h>
#include "codec.h"

Go to the source code of this file.

Data Structures

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_fopen (const char *path, OggVorbis_File *vf)
 
int ov_open (FILE *f, OggVorbis_File *vf, const char *initial, long ibytes)
 
int ov_open_callbacks (void *datasource, OggVorbis_File *vf, const char *initial, long ibytes, ov_callbacks callbacks)
 
int ov_test (FILE *f, OggVorbis_File *vf, const char *initial, long ibytes)
 
int ov_test_callbacks (void *datasource, OggVorbis_File *vf, const 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_filter (OggVorbis_File *vf, char *buffer, int length, int bigendianp, int word, int sgned, int *bitstream, void(*filter)(float **pcm, long channels, long samples, void *filter_param), void *filter_param)
 
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

◆ INITSET

#define INITSET   4

◆ NOTOPEN

#define NOTOPEN   0

◆ OPENED

#define OPENED   2

◆ PARTOPEN

#define PARTOPEN   1

◆ STREAMSET

#define STREAMSET   3

Typedef Documentation

◆ OggVorbis_File

typedef struct OggVorbis_File OggVorbis_File

Function Documentation

◆ ov_bitrate()

long ov_bitrate ( OggVorbis_File * vf,
int i )
extern

◆ ov_bitrate_instant()

long ov_bitrate_instant ( OggVorbis_File * vf)
extern

◆ ov_clear()

int ov_clear ( OggVorbis_File * vf)
extern

◆ ov_comment()

vorbis_comment * ov_comment ( OggVorbis_File * vf,
int link )
extern

◆ ov_crosslap()

int ov_crosslap ( OggVorbis_File * vf1,
OggVorbis_File * vf2 )
extern

◆ ov_fopen()

int ov_fopen ( const char * path,
OggVorbis_File * vf )
extern

◆ ov_halfrate()

int ov_halfrate ( OggVorbis_File * vf,
int flag )
extern

◆ ov_halfrate_p()

int ov_halfrate_p ( OggVorbis_File * vf)
extern

◆ ov_info()

vorbis_info * ov_info ( OggVorbis_File * vf,
int link )
extern

◆ ov_open()

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

◆ ov_open_callbacks()

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

◆ ov_pcm_seek()

int ov_pcm_seek ( OggVorbis_File * vf,
ogg_int64_t pos )
extern

◆ ov_pcm_seek_lap()

int ov_pcm_seek_lap ( OggVorbis_File * vf,
ogg_int64_t pos )
extern

◆ ov_pcm_seek_page()

int ov_pcm_seek_page ( OggVorbis_File * vf,
ogg_int64_t pos )
extern

◆ ov_pcm_seek_page_lap()

int ov_pcm_seek_page_lap ( OggVorbis_File * vf,
ogg_int64_t pos )
extern

◆ ov_pcm_tell()

ogg_int64_t ov_pcm_tell ( OggVorbis_File * vf)
extern

◆ ov_pcm_total()

ogg_int64_t ov_pcm_total ( OggVorbis_File * vf,
int i )
extern

◆ ov_raw_seek()

int ov_raw_seek ( OggVorbis_File * vf,
ogg_int64_t pos )
extern

◆ ov_raw_seek_lap()

int ov_raw_seek_lap ( OggVorbis_File * vf,
ogg_int64_t pos )
extern

◆ ov_raw_tell()

ogg_int64_t ov_raw_tell ( OggVorbis_File * vf)
extern

◆ ov_raw_total()

ogg_int64_t ov_raw_total ( OggVorbis_File * vf,
int i )
extern

◆ ov_read()

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

◆ ov_read_filter()

long ov_read_filter ( OggVorbis_File * vf,
char * buffer,
int length,
int bigendianp,
int word,
int sgned,
int * bitstream,
void(*)(float **pcm, long channels, long samples, void *filter_param) filter,
void * filter_param )
extern

◆ ov_read_float()

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

◆ ov_seekable()

long ov_seekable ( OggVorbis_File * vf)
extern

◆ ov_serialnumber()

long ov_serialnumber ( OggVorbis_File * vf,
int i )
extern

◆ ov_streams()

long ov_streams ( OggVorbis_File * vf)
extern

◆ ov_test()

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

◆ ov_test_callbacks()

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

◆ ov_test_open()

int ov_test_open ( OggVorbis_File * vf)
extern

◆ ov_time_seek()

int ov_time_seek ( OggVorbis_File * vf,
double pos )
extern

◆ ov_time_seek_lap()

int ov_time_seek_lap ( OggVorbis_File * vf,
double pos )
extern

◆ ov_time_seek_page()

int ov_time_seek_page ( OggVorbis_File * vf,
double pos )
extern

◆ ov_time_seek_page_lap()

int ov_time_seek_page_lap ( OggVorbis_File * vf,
double pos )
extern

◆ ov_time_tell()

double ov_time_tell ( OggVorbis_File * vf)
extern

◆ ov_time_total()

double ov_time_total ( OggVorbis_File * vf,
int i )
extern