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>

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_file * | audio_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. | |
Generic access and decoding of audio file formats.
Definition in file audio_file.c.
1.6.3