aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi/sf2load.c
Commit message (Collapse)AuthorAgeFilesLines
* Use %zu (C99) for printing size_tChris Robinson2014-10-301-4/+4
|
* Use more appropriate size typesChris Robinson2014-10-131-5/+5
|
* Use VECTOR_FIND_IF instead of manual loopsChris Robinson2014-09-301-42/+38
|
* Use size_t for the vector size and capacityChris Robinson2014-09-301-4/+4
|
* Stop trying to read samples if there was an errorChris Robinson2014-07-191-1/+1
|
* Trace when a soundfont buffer goes unusedChris Robinson2014-07-191-0/+3
|
* Keep existing presets when loading in a new soundfontChris Robinson2014-07-191-3/+5
| | | | | | Note that alLoadSoundfontSOFT doesn't currently allow using a soundfont with existing presets. This is for being able to load and stack multiple soundfonts for the default soundfont.
* Use a macro to specify the fourcc formattersChris Robinson2014-07-181-21/+22
|
* Don't require pre-declaring vector typesChris Robinson2014-07-061-5/+2
|
* Use a helper function to check valid MIDI controller inputsChris Robinson2014-07-041-5/+2
|
* Move an inline definition to a more appropriate sourceChris Robinson2014-07-041-2/+0
|
* Fix preset zone instrument header checkChris Robinson2014-07-011-2/+2
|
* Print SF2 text INFO chunksChris Robinson2014-07-011-49/+87
|
* Warn about all unhandled soundfont generatorsChris Robinson2014-06-301-4/+4
|
* Check the last preset and instrument properties within the loopChris Robinson2014-06-301-46/+10
|
* Standardize some New/Delete methodsChris Robinson2014-06-301-3/+3
|
* Load soundfont samples into an ALbufferChris Robinson2014-06-291-6/+19
| | | | | Also remove ALsoundfont's now-unneeded sample storage functions and struct fields.
* Add a cast to silence an MSVC warningChris Robinson2014-05-041-2/+3
|
* Trace skipped info sub-chunksChris Robinson2014-05-041-0/+2
|
* Use ALuint for the amount to skipChris Robinson2014-05-041-1/+1
|
* Add a VECTOR_INSERT method to insert a range of elements at onceChris Robinson2014-04-091-10/+6
|
* Fix a NULL deref when cloning a 0-sized vectorChris Robinson2014-04-091-6/+11
|
* Add some integer casts, and a range checkChris Robinson2014-03-231-1/+1
|
* Avoid a size_t-to-ALuint conversion warningChris Robinson2014-03-211-1/+1
|
* Increase the vector reserve as needed when pushing in new itemsChris Robinson2014-03-211-19/+8
|
* Rename the vector's Max field to CapacityChris Robinson2014-03-211-8/+8
|
* Use vectors for the GenModListChris Robinson2014-03-211-166/+98
|
* Add an explicit cast to make Windows happyChris Robinson2014-02-261-2/+2
|
* Properly fill the SF2 sample buffer on big endianChris Robinson2014-02-011-1/+1
|
* Fix an infinite loop when loading SF2 samples on big endian machinesChris Robinson2014-02-011-2/+5
|
* Check and trace INFO properties when reading themChris Robinson2014-01-191-3/+9
|
* Check for 0-sized sf2 structure arraysChris Robinson2014-01-171-18/+18
|
* Remove redundancy in a couple error messagesChris Robinson2014-01-171-2/+2
|
* Put the version and irom storage into the Soundfont structChris Robinson2014-01-171-13/+18
|
* Fix a couple warning messages to show the correct instrument IDChris Robinson2014-01-171-8/+8
|
* Partially handle the irom sub-chunkChris Robinson2014-01-171-3/+30
| | | | Reject soundfonts that have ROM sample types without a valid irom sub-chunk.
* Better handle original key and overriding root keyChris Robinson2014-01-171-3/+10
|
* Rename aftertouch to keypressureChris Robinson2014-01-171-1/+1
|
* Handle fontsound sample types using explicit enum valuesChris Robinson2014-01-151-12/+29
| | | | | | Uses AL_MONO_SOFT, AL_RIGHT_SOFT, and AL_LEFT_SOFT. "Linked" samples types aren't explicitly supported due to being under-defined in the SF2 spec, nor are ROM samples currently.
* Use ALfontsound_setPropi to set fontsound sample propertiesChris Robinson2014-01-151-12/+18
| | | | And make sure the loop mode is properly translated for FluidSynth.
* Be more thorough when converting sf2 modulator propertiesChris Robinson2014-01-131-30/+58
|
* Don't break with an override root key generator value of -1Chris Robinson2014-01-061-1/+1
| | | | An accidental hold-over from when it was using a switch.
* Add methods to get and set modulator properties on fontsoundsChris Robinson2014-01-051-1/+52
|
* Trace preset, instrument, and sample names with invalid key and velocity rangesChris Robinson2014-01-041-8/+8
|
* Don't create presets that don't have any usable soundsChris Robinson2014-01-041-6/+5
|
* Update some trace messages to be more usefulChris Robinson2014-01-031-4/+5
|
* Avoid using alFontsoundiSOFT when loading a soundfontChris Robinson2014-01-031-3/+3
| | | | This should now make the soundfont loader thread-safe.
* Don't handle the list type in the RiffHdr structChris Robinson2014-01-031-20/+11
|
* Mostly load into fontsound objects directlyChris Robinson2014-01-021-155/+82
| | | | This leaves only one unsafe alFontsoundiSOFT call.
* Load presets directly into objectsChris Robinson2014-01-021-34/+45
|