summaryrefslogtreecommitdiffstats
path: root/OpenAL32
Commit message (Collapse)AuthorAgeFilesLines
* Parameterize the block alignmentChris Robinson2014-03-041-111/+152
|
* Use alloca for temp space decoding/encoding IMA4 blocksChris Robinson2014-03-031-4/+11
|
* Reduce explicit template declarations and ignore IMA4-to-IMA4 conversionsChris Robinson2014-03-031-159/+35
| | | | | | Since we never store IMA4 data in buffers, we should only ever convert from (user input) or to (user output) IMA4. Once we allow user-specified pack/unpack block alignment, this wouldn't be a simple memcpy anyway.
* Store the original frame size alignment in the bufferChris Robinson2014-03-033-12/+29
|
* Move PATH_MAX fallback definitions to alMain.hChris Robinson2014-02-271-0/+9
|
* Use OpenDataFile to load soundfonts relative to data directoriesChris Robinson2014-02-271-1/+1
|
* Move OpenDataFile to helpers.c so other sources can use itChris Robinson2014-02-271-0/+1
|
* Move HRTF macros and function declarations to a separate headerChris Robinson2014-02-232-14/+1
|
* Add a return value to FindHrtfFormatChris Robinson2014-02-231-1/+1
|
* Add an alcGetInteger64vSOFT method and a way to get the device clockChris Robinson2014-02-011-0/+11
|
* Keep track of a device clock time, based on the number of samples processedChris Robinson2014-02-011-0/+7
|
* Rename aftertouch to keypressureChris Robinson2014-01-173-8/+8
|
* Use a proper struct for envelope propertiesChris Robinson2014-01-172-26/+19
|
* Handle fontsound sample types using explicit enum valuesChris Robinson2014-01-152-2/+4
| | | | | | 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.
* Add a flag to specify the device being pausedChris Robinson2014-01-151-0/+3
| | | | | Used to prevent UpdateDeviceParams from restarting the device, if a new context is created while paused.
* Add an extension to pause audio processingChris Robinson2014-01-151-0/+10
|
* Add a method to get soundfont samplesChris Robinson2014-01-132-0/+37
|
* Allow getting preset properties even when referencedChris Robinson2014-01-121-2/+0
|
* Minor non-functional cleanupChris Robinson2014-01-121-5/+5
|
* Add a method to get the current MIDI stateChris Robinson2014-01-122-0/+27
|
* Load soundfont modulators into FluidSynthChris Robinson2014-01-061-2/+2
|
* Add methods to get and set modulator properties on fontsoundsChris Robinson2014-01-053-3/+233
|
* Move some soundfont methods to ALsoundfontChris Robinson2014-01-052-2/+100
|
* Allow "deleting" the default soundfontChris Robinson2014-01-041-5/+17
| | | | | The ID remains valid and the soundfont will be reloaded as needed, but this provides a way for the application to clear up the soundfont memory.
* Allow querying default soundfont propertiesChris Robinson2014-01-041-7/+19
| | | | | Any attempts to modify it or its held objects will result in an AL_INVALID_OPERATION error.
* Don't allow min key/vel ranges to exceed max rangeChris Robinson2014-01-031-2/+2
|
* Allow selecting the default soundfont using ID 0Chris Robinson2014-01-031-1/+1
|
* Add storage for a default soundfont objectChris Robinson2014-01-034-4/+8
|
* Move ALsoundfont methods to the right source fileChris Robinson2014-01-031-0/+38
|
* Avoid using alFontsoundiSOFT when loading a soundfontChris Robinson2014-01-032-201/+210
| | | | This should now make the soundfont loader thread-safe.
* Use a uint map for modulatorsChris Robinson2014-01-022-10/+15
|
* Mostly load into fontsound objects directlyChris Robinson2014-01-022-26/+127
| | | | This leaves only one unsafe alFontsoundiSOFT call.
* Move some error macros to alError.hChris Robinson2014-01-022-16/+15
|
* Move some preset alloc/dealloc code to separate functionsChris Robinson2014-01-022-28/+73
|
* Move alLoadSoundfontSOFT to alSoundfont.cChris Robinson2014-01-022-42/+42
|
* Don't allow soundfonts with existing presets in alLoadSoundfontSOFTChris Robinson2014-01-011-0/+5
|
* Pass the ALsoundfont object to loadSf2, rather than its IDChris Robinson2014-01-011-1/+28
|
* Remove explicit locking from alMidiSoundfontvSOFT.Chris Robinson2013-12-291-2/+0
| | | | The MIDI backend can lock as it needs.
* Update soundfont selection functionsChris Robinson2013-12-292-29/+7
| | | | | A filename is no longer specified, and alMidiSoundfontsSOFT is renamed to alMidiSoundfontvSOFT.
* Lock the device while selecting soundfontsChris Robinson2013-12-291-0/+2
|
* Add the last remaining "real-time" propertiesChris Robinson2013-12-293-0/+68
|
* Add chorus and reverb send propertiesChris Robinson2013-12-293-0/+27
|
* Add pan and attenuation propertiesChris Robinson2013-12-293-0/+26
|
* Add tuning propertiesChris Robinson2013-12-293-13/+47
|
* Add filter propertiesChris Robinson2013-12-293-0/+47
|
* Add modulation envelope propertiesChris Robinson2013-12-293-14/+76
|
* Add a few more pitch propertiesChris Robinson2013-12-293-0/+34
|
* Add volume envelope propertiesChris Robinson2013-12-293-0/+91
|
* Add support for the fontsound loop modeChris Robinson2013-12-293-0/+16
|
* Add alLoadSoundfontSOFT to load a soundfont via callbackChris Robinson2013-12-282-0/+12
| | | | | | | | | | | | | | | | | | | | | 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.