openshot-audio  0.1.7
Macros | Functions
vorbisfile.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <math.h>
#include "../../codec.h"
#include "../../vorbisfile.h"
#include "os.h"
#include "misc.h"

Macros

#define CHUNKSIZE   65536 /* greater-than-page-size granularity seeking */
 
#define READSIZE   2048 /* a smaller read size is needed for low-rate streaming. */
 

Functions

int ov_clear (OggVorbis_File *vf)
 
int ov_open_callbacks (void *f, OggVorbis_File *vf, const char *initial, long ibytes, ov_callbacks callbacks)
 
int ov_open (FILE *f, OggVorbis_File *vf, const char *initial, long ibytes)
 
int ov_fopen (const char *path, OggVorbis_File *vf)
 
int ov_halfrate (OggVorbis_File *vf, int flag)
 
int ov_halfrate_p (OggVorbis_File *vf)
 
int ov_test_callbacks (void *f, 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_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_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)
 
long ov_read_float (OggVorbis_File *vf, float ***pcm_channels, int length, int *bitstream)
 
float * vorbis_window (vorbis_dsp_state *v, int W)
 
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   65536 /* greater-than-page-size granularity seeking */
#define READSIZE   2048 /* a smaller read size is needed for low-rate streaming. */

Function Documentation

long ov_bitrate ( OggVorbis_File vf,
int  i 
)
long ov_bitrate_instant ( OggVorbis_File vf)
int ov_clear ( OggVorbis_File vf)
vorbis_comment* ov_comment ( OggVorbis_File vf,
int  link 
)
int ov_crosslap ( OggVorbis_File vf1,
OggVorbis_File vf2 
)
int ov_fopen ( const char *  path,
OggVorbis_File vf 
)
int ov_halfrate ( OggVorbis_File vf,
int  flag 
)
int ov_halfrate_p ( OggVorbis_File vf)
vorbis_info* ov_info ( OggVorbis_File vf,
int  link 
)
int ov_open ( FILE *  f,
OggVorbis_File vf,
const char *  initial,
long  ibytes 
)
int ov_open_callbacks ( void *  f,
OggVorbis_File vf,
const char *  initial,
long  ibytes,
ov_callbacks  callbacks 
)
int ov_pcm_seek ( OggVorbis_File vf,
ogg_int64_t  pos 
)
int ov_pcm_seek_lap ( OggVorbis_File vf,
ogg_int64_t  pos 
)
int ov_pcm_seek_page ( OggVorbis_File vf,
ogg_int64_t  pos 
)
int ov_pcm_seek_page_lap ( OggVorbis_File vf,
ogg_int64_t  pos 
)
ogg_int64_t ov_pcm_tell ( OggVorbis_File vf)
ogg_int64_t ov_pcm_total ( OggVorbis_File vf,
int  i 
)
int ov_raw_seek ( OggVorbis_File vf,
ogg_int64_t  pos 
)
int ov_raw_seek_lap ( OggVorbis_File vf,
ogg_int64_t  pos 
)
ogg_int64_t ov_raw_tell ( OggVorbis_File vf)
ogg_int64_t ov_raw_total ( OggVorbis_File vf,
int  i 
)
long ov_read ( OggVorbis_File vf,
char *  buffer,
int  length,
int  bigendianp,
int  word,
int  sgned,
int bitstream 
)
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 
)
long ov_read_float ( OggVorbis_File vf,
float ***  pcm_channels,
int  length,
int bitstream 
)
long ov_seekable ( OggVorbis_File vf)
long ov_serialnumber ( OggVorbis_File vf,
int  i 
)
long ov_streams ( OggVorbis_File vf)
int ov_test ( FILE *  f,
OggVorbis_File vf,
const char *  initial,
long  ibytes 
)
int ov_test_callbacks ( void *  f,
OggVorbis_File vf,
const char *  initial,
long  ibytes,
ov_callbacks  callbacks 
)
int ov_test_open ( OggVorbis_File vf)
int ov_time_seek ( OggVorbis_File vf,
double  seconds 
)
int ov_time_seek_lap ( OggVorbis_File vf,
double  pos 
)
int ov_time_seek_page ( OggVorbis_File vf,
double  seconds 
)
int ov_time_seek_page_lap ( OggVorbis_File vf,
double  pos 
)
double ov_time_tell ( OggVorbis_File vf)
double ov_time_total ( OggVorbis_File vf,
int  i 
)
float* vorbis_window ( vorbis_dsp_state v,
int  W 
)