aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/gme_decoder_plugin.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-11decoder_plugin: scan tags with callback tableMax Kellermann1-15/+24
Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object.
2012-02-11decoder/gme: convert runtime check to assertionMax Kellermann1-21/+22
When gme_track_info() returns with success, then the gme_info_t pointer must be set.
2011-02-03Set fadeout in gme_decoder_plugin. Due to the nature of the gme library,Tony Miller1-0/+3
this needs to be done for the end of songs to be detected.
2010-10-14Container support for gme decoder.Tony Miller1-8/+114
2010-07-23Added album tag support for libgme decoderRasi1-0/+2
2010-05-31decoder/gme: replace macro GME_BUF_SIZEMax Kellermann1-4/+5
Added macros with better names: GME_BUFFER_FRAMES, GME_BUFFER_SAMPLES (the former only used to calculate the latter).
2010-05-31decoder/gme: added constants for sample rate and channelsMax Kellermann1-6/+12
Move into enums.
2010-05-31decoder/gme: pass the whole buffer to decoder_data()Max Kellermann1-2/+2
Pass sizeof(buf) to decoder_data(), not the number of samples (which is half the size). At the same time, pass GME_BUF_SIZE to gme_play() - libgme really wants to get the number of samples, not the number of stereo frames. Previously, this plugin had been using only the first half of the buffer.
2010-05-31decoder/gme: allocate tag later, fixes memory leakMax Kellermann1-1/+1
Allocate the "tag" object after the file has been opened successfully.
2010-04-10Decoder for game music emulation library.Tony Miller1-0/+129
Supports a number of videogame music formats, more info here: http://www.fly.net/~ant/libs/audio.html I wrote this plugin for the latest svn, get it here: http://code.google.com/p/game-music-emu/source/checkout