audio_format_modplug.c File Reference

libmodplug decompression routines. More...

#include "stdinc.h"
#include <sys/mman.h>
#include <modplug.h>
#include "audio_file.h"
#include "audio_format.h"
#include "audio_output.h"
Include dependency graph for audio_format_modplug.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  modplug_drv_data
 Private data for libmodplug stored in the audio file structure. More...

Defines

#define SAMPLERATE   44100
 Sample rate we want to use.
#define BYTESPERSAMPLE   4
 The number of bytes used by a single frame.

Functions

static void modplug_init (void)
 Set proper parameters in the Modplug library.
int modplug_open (struct audio_file *fd, const char *ext)
 Open a modplug file.
void modplug_close (struct audio_file *fd)
 Close and clean up the modplug file.
size_t modplug_read (struct audio_file *fd, int16_t *buf, size_t len)
 Read data from the modplug file and place it in buf.
void modplug_seek (struct audio_file *fd, int len, int rel)
 Seek the modplug file a relatime amount of seconds.

Detailed Description

libmodplug decompression routines.

Definition in file audio_format_modplug.c.

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