Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add the last remaining "real-time" properties | Chris Robinson | 2013-12-29 | 1 | -6/+6 |
| | |||||
* | Add chorus and reverb send properties | Chris Robinson | 2013-12-29 | 1 | -2/+4 |
| | |||||
* | Add pan and attenuation properties | Chris Robinson | 2013-12-29 | 1 | -6/+9 |
| | |||||
* | Add tuning properties | Chris Robinson | 2013-12-29 | 1 | -3/+3 |
| | |||||
* | Add filter properties | Chris Robinson | 2013-12-29 | 1 | -5/+7 |
| | |||||
* | Add modulation envelope properties | Chris Robinson | 2013-12-29 | 1 | -8/+8 |
| | |||||
* | Add a few more pitch properties | Chris Robinson | 2013-12-29 | 1 | -3/+3 |
| | |||||
* | Add volume envelope properties | Chris Robinson | 2013-12-29 | 1 | -8/+8 |
| | |||||
* | Fix copy-paste errors in error messages | Chris Robinson | 2013-12-29 | 1 | -2/+2 |
| | |||||
* | Accumulate with default modulator amounts | Chris Robinson | 2013-12-29 | 1 | -0/+20 |
| | |||||
* | Add support for the fontsound loop mode | Chris Robinson | 2013-12-29 | 1 | -3/+6 |
| | |||||
* | Ensure the soundfont version is 2.x | Chris Robinson | 2013-12-28 | 1 | -2/+28 |
| | |||||
* | Add alLoadSoundfontSOFT to load a soundfont via callback | Chris Robinson | 2013-12-28 | 1 | -0/+1283 |
Some hefty caveats: This function is not thread-safe. In particular, the current context affecting the thread must not be changed, and the provided soundfont must not be altered while the function is executing. Ideally, this will be fixed. Error handling is poor. Some RIFF structure errors may not be caught (e.g. sub- chunks with sizes greater than the parent chunk allows for), and generated AL errors are ignored, possibly leading to resource leaks in certain situations. These should be fixed in time. There is minimal error checking on the provided soundfont ID. It does not ensure a valid ID has been provided, nor does it ensure the provided soundfont can be modified. These short-comings should be fixed eventually. Proper cleanup is the responsibility of the caller. The caller must get the preset objects from the soundfont before deleting it, and the fontsound objects from each preset before deleting them, to make sure all resources are properly deleted. |