Commit Graph

73 Commits (3a93a0083ca6f94844a7c0de73e2c01e0944571c)

Author SHA1 Message Date
Chris Moeller b28705d5d9 Fixed MIDI looping 2013-11-03 00:44:01 -07:00
Chris Moeller af3a40bdc2 Added support for per-file SoundFonts, either named filename.ext.ext2, filename.ext2, or parentdirectoryname.ext2, where ext2 is sflist, sf2pack, or sf2, preferred in that order. 2013-10-23 22:53:39 -07:00
Chris Moeller 7af4e94b03 Removed signature application from individual projects and added --deep option to the main app project 2013-10-22 18:41:57 -07:00
Chris Moeller ad9a949c26 Turned on code signing 2013-10-21 18:28:53 -07:00
Chris Moeller 63fba5930e Implemented support for multiple decoders per file name extension, with a floating point priority control per interface. In the event that more than one input is registered to a given extension, and we match that extension, it will be passed off to an instance of the multi-decoder wrapper, which will try opening the file with all of the decoders in order of priority, until either one of them accepts it, or all of them have failed. This paves the way for adding a VGMSTREAM input, so I can give it a very low priority, since it has several formats that are verified by file name extension only. All current inputs have been given a priority of 1.0, except for CoreAudio, which was given a priority of 0.5, because it contains an MP3 and AC3 decoders that I'd rather not use if I don't have to. 2013-10-21 10:54:11 -07:00
Chris Moeller e930372d1e Updated sflist preset control to match latest foo_midi, now supports multiple preset commands per group, and channel commands support hyphenated ranges 2013-10-20 17:30:59 -07:00
Chris Moeller 2e07cf29a0 Added sflist channel and preset redirection control, just like foo_midi 2013-10-18 21:01:19 -07:00
Chris Moeller 16396ad20a Fixed MIDI fading and stopping at the end 2013-10-18 18:52:59 -07:00
Chris Moeller 015a09d419 Fixes for non-looping file playback and precision handling on 32 bit targets 2013-10-16 10:03:40 -07:00
Chris Moeller 711da5fe24 Added MIDI container processor and metadata reader 2013-10-16 08:59:44 -07:00
Chris Moeller 34632b8a36 Whoops, forgot to increment the reference counter when a cache open finds a match 2013-10-16 03:30:49 -07:00
Chris Moeller 22f9e86fd1 Fixed std::chrono::duration shenanigans 2013-10-16 03:21:12 -07:00
Chris Moeller cf3318c2c9 Replaced pthread and system time primitives with std::mutex, std::chrono, and std::this_thread::sleep_for, and fixed the thread iterator loop to continue iterating properly on object removal 2013-10-16 03:05:16 -07:00
Chris Moeller 7128273201 Fixed fading, and fixed files to stop when they've reached the end 2013-10-15 12:58:45 -07:00
Chris Moeller c3a4189ef4 Improved loop handling 2013-10-15 12:46:44 -07:00
Chris Moeller 2e553c7186 Fixed loop handling if only a loop start or end marker is found 2013-10-15 11:52:20 -07:00
Chris Moeller 1b9f74db68 Made some things static like they should be 2013-10-15 11:48:33 -07:00
Chris Moeller e3fa04a57c Remove newly added entry from the cache if the font failed to load 2013-10-15 11:41:57 -07:00
Chris Moeller 99c1942eb3 Added a SoundFont handle cache, since BASSMIDI doesn't appear to employ reference counting on its SoundFont handles 2013-10-15 11:34:55 -07:00
Chris Moeller 7d600e1911 Fixed files ending when seeking 2013-10-15 11:30:18 -07:00
Chris Moeller 9d4da8ad7b Not installing MIDI bundle globally 2013-10-15 08:08:46 -07:00
Chris Moeller 2a6bca122a Whoops, forgot to copy midi_processing into the MIDI bundle, and also set its install path correctly 2013-10-15 08:01:30 -07:00
Chris Moeller 842932c322 Implemented a MIDI plug-in 2013-10-15 07:49:53 -07:00