audio_file.c File Reference

Generic access and decoding of audio file formats. More...

#include "stdinc.h"
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <regex.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <glib.h>
Include dependency graph for audio_file.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  audio_format
 Audio format containg its functions to open, close, read and seek the format. More...

Defines

#define NUM_FORMATS   (sizeof formats / sizeof(struct audio_format))
 Amount of audio formats.

Functions

struct audio_fileaudio_file_open (const struct vfsref *vr)
 Fill an audio_file struct with the appropiate information and function calls, and open the file handle.
void audio_file_close (struct audio_file *fd)
 Clean up the given audio_file struct and close the file handle.
size_t audio_file_read (struct audio_file *fd, int16_t *buf, size_t len)
 Call the read function in the audio_file struct.
void audio_file_seek (struct audio_file *fd, int len, int rel)
 Call the seek function in the audio_file struct.

Variables

static struct audio_format formats []
 List of audio formats.

Detailed Description

Generic access and decoding of audio file formats.

Definition in file audio_file.c.

 All Data Structures Files Functions Variables Defines
Generated on Mon Mar 15 04:45:03 2010 for herrie by  doxygen 1.6.3