#include <stdio.h>#include <stdlib.h>#include <stdbool.h>#include <string.h>Go to the source code of this file.
Classes | |
| struct | sample |
| struct | note |
| struct | module |
| struct | channel |
| struct | jar_mod_context_t |
| struct | track_state_ |
| struct | tracker_state_ |
| struct | tracker_state_instrument_ |
| struct | jar_mod_tracker_buffer_state_ |
Macros | |
| #define | NUMMAXCHANNELS 32 |
| #define | MAXNOTES 12*12 |
| #define | DEFAULT_SAMPLE_RATE 48000 |
Typedefs | |
| typedef unsigned char | muchar |
| typedef unsigned short | muint |
| typedef short | mint |
| typedef unsigned long | mulong |
| typedef struct track_state_ | track_state |
| typedef struct tracker_state_ | tracker_state |
| typedef struct tracker_state_instrument_ | tracker_state_instrument |
| typedef struct jar_mod_tracker_buffer_state_ | jar_mod_tracker_buffer_state |
Functions | |
| bool | jar_mod_init (jar_mod_context_t *modctx) |
| bool | jar_mod_setcfg (jar_mod_context_t *modctx, int samplerate, int bits, int stereo, int stereo_separation, int filter) |
| void | jar_mod_fillbuffer (jar_mod_context_t *modctx, short *outbuffer, unsigned long nbsample, jar_mod_tracker_buffer_state *trkbuf) |
| void | jar_mod_unload (jar_mod_context_t *modctx) |
| mulong | jar_mod_load_file (jar_mod_context_t *modctx, const char *filename) |
| mulong | jar_mod_current_samples (jar_mod_context_t *modctx) |
| mulong | jar_mod_max_samples (jar_mod_context_t *modctx) |
| void | jar_mod_seek_start (jar_mod_context_t *ctx) |
| typedef struct jar_mod_tracker_buffer_state_ jar_mod_tracker_buffer_state |
| typedef struct track_state_ track_state |
| typedef struct tracker_state_ tracker_state |
| typedef struct tracker_state_instrument_ tracker_state_instrument |
| mulong jar_mod_current_samples | ( | jar_mod_context_t * | modctx | ) |
| void jar_mod_fillbuffer | ( | jar_mod_context_t * | modctx, |
| short * | outbuffer, | ||
| unsigned long | nbsample, | ||
| jar_mod_tracker_buffer_state * | trkbuf | ||
| ) |
| bool jar_mod_init | ( | jar_mod_context_t * | modctx | ) |
| mulong jar_mod_load_file | ( | jar_mod_context_t * | modctx, |
| const char * | filename | ||
| ) |
| mulong jar_mod_max_samples | ( | jar_mod_context_t * | modctx | ) |
| void jar_mod_seek_start | ( | jar_mod_context_t * | ctx | ) |
| bool jar_mod_setcfg | ( | jar_mod_context_t * | modctx, |
| int | samplerate, | ||
| int | bits, | ||
| int | stereo, | ||
| int | stereo_separation, | ||
| int | filter | ||
| ) |
| void jar_mod_unload | ( | jar_mod_context_t * | modctx | ) |