aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins/GmeDecoderPlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-12-02decoder/gme: simplify ParseContainerPath()Max Kellermann1-32/+27
Use simple string and path parsing functions instead of GLib's g_pattern_match(), which was used in a very clumsy way.
2014-12-02decoder/gme: merge get_container_name() and get_song_num()Max Kellermann1-54/+28
There is duplicate code in the two.
2014-12-01decoder/gme: get_song_num() returns unsignedMax Kellermann1-6/+9
2014-12-01decoder/gme: move code to ScanMusicEmu()Max Kellermann1-14/+22
2014-12-01decoder/gme: move code to ScanGmeInfo()Max Kellermann1-34/+42
2014-08-29TagHandler: pass SongTime to duration()Max Kellermann1-1/+1
2014-08-29DecoderAPI: pass SignedSongTime to decoder_initialized()Max Kellermann1-3/+3
2014-08-26DecoderAPI: use std::chrono::duration for decoder_seek*()Max Kellermann1-1/+1
For type safety and code readability.
2014-08-26decoder/gme: use integer seek timesMax Kellermann1-2/+2
2014-02-24decoder/gme: use free() instead of g_free()Max Kellermann1-1/+1
2014-02-07DecoderPlugin: pass Path instance to file_decode() and scan_file()Max Kellermann1-12/+14
2014-01-24decoder/*: move to decoder/plugins/Max Kellermann1-1/+1
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-07util/Alloc: new library replacing GLib's g_malloc()Max Kellermann1-2/+3
2013-10-21decoder: rename the struct to "Decoder"Max Kellermann1-1/+1
2013-10-21decoder_plugin: rename struct to DecoderPluginMax Kellermann1-2/+2
2013-10-19util/FormatString: new library to replace g_strdup_printf()Max Kellermann1-3/+3
2013-10-19decoder/gme,input/curl,...: use static buffers instead of g_strdup_printf()Max Kellermann1-11/+15
2013-10-02Log: new logging library APIMax Kellermann1-12/+13
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-27DecoderCommand: convert to strictly-typed enumMax Kellermann1-3/+3
2013-09-05Tag, ...: move to libtag.aMax Kellermann1-1/+1
2013-09-04util/Error: new error passing libraryMax Kellermann1-4/+4
Replaces GLib's GError.
2013-08-03audio_format: convert to C++Max Kellermann1-4/+4
2013-07-29audio_check: convert to C++Max Kellermann1-1/+1
2013-07-29tag_handler: convert to C++Max Kellermann1-1/+1
2013-07-28decoder_api: convert to C++Max Kellermann1-1/+1
2013-04-08uri: convert to C++Max Kellermann1-4/+1
2013-04-08decoder/gme: fix rounding errorMax Kellermann1-1/+1
Cast to integer after multiplying with 1000. Allows sub-second seeking.
2013-04-08decoder/gme: convert to C++Max Kellermann1-74/+109
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