simage  1.8.3
Coin3D texture image library
Loading...
Searching...
No Matches
simage_oggvorbis_reader.c File Reference
#include <config.h>
#include <simage.h>
#include <simage_private.h>
#include <simage_oggvorbis.h>
#include <stdio.h>
#include <stdlib.h>
#include <vorbis/codec.h>
#include <vorbis/vorbisfile.h>

Data Structures

struct  oggvorbis_reader_context
 

Functions

static void oggvorbis_reader_cleanup_context (oggvorbis_reader_context *context)
 
static void oggvorbis_reader_close (oggvorbis_reader_context *context)
 
static int oggvorbis_reader_close_cb (void *datasource)
 
static void oggvorbis_reader_get_stream_info (oggvorbis_reader_context *context, int *channels, int *samplerate)
 
static void oggvorbis_reader_init_context (oggvorbis_reader_context *context)
 
static int oggvorbis_reader_open (oggvorbis_reader_context **contextp, const char *filename)
 
static int oggvorbis_reader_read (oggvorbis_reader_context *context, char *buffer, int size)
 
static size_t oggvorbis_reader_read_cb (void *ptr, size_t size, size_t nmemb, void *datasource)
 
static int oggvorbis_reader_seek_cb (void *datasource, ogg_int64_t offset, int whence)
 
void oggvorbis_reader_stream_close (s_stream *stream)
 
void * oggvorbis_reader_stream_get (s_stream *stream, void *buffer, int *size, s_params *params)
 
int oggvorbis_reader_stream_open (const char *filename, s_stream *stream, s_params *params)
 
int oggvorbis_reader_stream_seek (s_stream *stream, int offset, int whence, s_params *params)
 
int oggvorbis_reader_stream_tell (s_stream *stream, s_params *params)
 
static long oggvorbis_reader_tell_cb (void *datasource)
 

Function Documentation

◆ oggvorbis_reader_cleanup_context()

static void oggvorbis_reader_cleanup_context ( oggvorbis_reader_context * context)
static

◆ oggvorbis_reader_close()

static void oggvorbis_reader_close ( oggvorbis_reader_context * context)
static

◆ oggvorbis_reader_close_cb()

static int oggvorbis_reader_close_cb ( void * datasource)
static

◆ oggvorbis_reader_get_stream_info()

static void oggvorbis_reader_get_stream_info ( oggvorbis_reader_context * context,
int * channels,
int * samplerate )
static

◆ oggvorbis_reader_init_context()

static void oggvorbis_reader_init_context ( oggvorbis_reader_context * context)
static

◆ oggvorbis_reader_open()

static int oggvorbis_reader_open ( oggvorbis_reader_context ** contextp,
const char * filename )
static

◆ oggvorbis_reader_read()

static int oggvorbis_reader_read ( oggvorbis_reader_context * context,
char * buffer,
int size )
static

◆ oggvorbis_reader_read_cb()

static size_t oggvorbis_reader_read_cb ( void * ptr,
size_t size,
size_t nmemb,
void * datasource )
static

◆ oggvorbis_reader_seek_cb()

static int oggvorbis_reader_seek_cb ( void * datasource,
ogg_int64_t offset,
int whence )
static

◆ oggvorbis_reader_stream_close()

void oggvorbis_reader_stream_close ( s_stream * stream)

◆ oggvorbis_reader_stream_get()

void * oggvorbis_reader_stream_get ( s_stream * stream,
void * buffer,
int * size,
s_params * params )

◆ oggvorbis_reader_stream_open()

int oggvorbis_reader_stream_open ( const char * filename,
s_stream * stream,
s_params * params )

◆ oggvorbis_reader_stream_seek()

int oggvorbis_reader_stream_seek ( s_stream * stream,
int offset,
int whence,
s_params * params )

◆ oggvorbis_reader_stream_tell()

int oggvorbis_reader_stream_tell ( s_stream * stream,
s_params * params )

◆ oggvorbis_reader_tell_cb()

static long oggvorbis_reader_tell_cb ( void * datasource)
static