simage  1.8.3
Coin3D texture image library
Loading...
Searching...
No Matches
simage_libsndfile.c File Reference
#include <config.h>
#include <simage.h>
#include <simage_private.h>
#include <simage_libsndfile.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <sndfile.h>

Data Structures

struct  libsndfile_context
 

Functions

static void libsndfile_cleanup_context (libsndfile_context *context)
 
static void libsndfile_init_context (libsndfile_context *context)
 
void libsndfile_stream_close (s_stream *stream)
 
void * libsndfile_stream_get (s_stream *stream, void *buffer, int *size, s_params *params)
 
int libsndfile_stream_open (const char *filename, s_stream *stream, s_params *params)
 
int libsndfile_stream_seek (s_stream *stream, int offset, int whence, s_params *params)
 
int libsndfile_stream_tell (s_stream *stream, s_params *params)
 

Function Documentation

◆ libsndfile_cleanup_context()

static void libsndfile_cleanup_context ( libsndfile_context * context)
static

◆ libsndfile_init_context()

static void libsndfile_init_context ( libsndfile_context * context)
static

◆ libsndfile_stream_close()

void libsndfile_stream_close ( s_stream * stream)

◆ libsndfile_stream_get()

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

◆ libsndfile_stream_open()

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

◆ libsndfile_stream_seek()

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

◆ libsndfile_stream_tell()

int libsndfile_stream_tell ( s_stream * stream,
s_params * params )