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"

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. | |
libmodplug decompression routines.
Definition in file audio_format_modplug.c.
1.6.3