aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alFontsound.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the MIDI codeChris Robinson2015-10-201-1014/+0
| | | | | | | The extension's not going anywhere, and it can't do anything fluidsynth can't. The code maintenance and bloat is not worth keeping around, and ideally the AL API would be able to facilitate MIDI-like behavior anyway (envelopes, start-at- time, etc).
* Make the fontsound's buffer and link fields atomicChris Robinson2014-09-031-12/+18
|
* Store 4 modulators per map entryChris Robinson2014-07-061-8/+13
|
* Make some more functions staticChris Robinson2014-07-051-2/+6
|
* Use a helper function to check valid MIDI controller inputsChris Robinson2014-07-041-4/+1
|
* Simplify setting a fontsound linkChris Robinson2014-07-011-10/+6
|
* Check that a fontsound is NOT null before deleting itChris Robinson2014-07-011-1/+1
|
* Standardize some New/Delete methodsChris Robinson2014-06-301-9/+16
|
* Store and use an ALbuffer for samples in an ALfontsoundChris Robinson2014-06-291-0/+27
| | | | | | | | The fontsound still maintains its own start, end, and loop offsets, so that the same buffer may be shared between multiple/all fontsounds. Ideally a single buffer should be used for all fontsounds to avoid memory fragmentation and help CPU caching, although higher quality soundfonts may need more memory than a single buffer can hold.
* Make RefCount a non-integer typeChris Robinson2014-05-141-6/+6
| | | | | It should only be accessed through the appropriate functions to ensure proper atomicity.
* Rename aftertouch to keypressureChris Robinson2014-01-171-1/+1
|
* Use a proper struct for envelope propertiesChris Robinson2014-01-171-6/+6
|
* Handle fontsound sample types using explicit enum valuesChris Robinson2014-01-151-2/+2
| | | | | | 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.
* Minor non-functional cleanupChris Robinson2014-01-121-5/+5
|
* Add methods to get and set modulator properties on fontsoundsChris Robinson2014-01-051-0/+185
|
* Don't allow min key/vel ranges to exceed max rangeChris Robinson2014-01-031-2/+2
|
* Add storage for a default soundfont objectChris Robinson2014-01-031-2/+2
|
* Avoid using alFontsoundiSOFT when loading a soundfontChris Robinson2014-01-031-201/+208
| | | | This should now make the soundfont loader thread-safe.
* Use a uint map for modulatorsChris Robinson2014-01-021-7/+9
|
* Mostly load into fontsound objects directlyChris Robinson2014-01-021-21/+126
| | | | This leaves only one unsafe alFontsoundiSOFT call.
* Add the last remaining "real-time" propertiesChris Robinson2013-12-291-0/+50
|
* Add chorus and reverb send propertiesChris Robinson2013-12-291-0/+22
|
* Add pan and attenuation propertiesChris Robinson2013-12-291-0/+20
|
* Add tuning propertiesChris Robinson2013-12-291-12/+37
|
* Add filter propertiesChris Robinson2013-12-291-0/+38
|
* Add modulation envelope propertiesChris Robinson2013-12-291-14/+58
|
* Add a few more pitch propertiesChris Robinson2013-12-291-0/+27
|
* Add volume envelope propertiesChris Robinson2013-12-291-0/+72
|
* Add support for the fontsound loop modeChris Robinson2013-12-291-0/+12
|
* Allow specifying all 4 sample typesChris Robinson2013-12-271-1/+1
| | | | ROM-based types will be specified with a separate property
* Allow specifying some fontsound sample propertiesChris Robinson2013-12-261-1/+104
|
* Allow specifying key and velocity ranges on fontsoundsChris Robinson2013-12-261-0/+126
|
* Add a new fontsound object typeChris Robinson2013-12-251-0/+134
This is basically a combined preset and intrument zone with sample header.