aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
Commit message (Collapse)AuthorAgeFilesLines
* Add an extension to support MSADPCM buffer formatsChris Robinson2014-03-042-0/+7
|
* Add an extension to alter the block alignment for buffer unpack/pack opsChris Robinson2014-03-042-0/+9
| | | | | | | | | | | | | | | | This is for unpacking (reading, e.g. alBufferData) and packing (writing, e.g. alGetBufferSamplesSOFT) operations. The alignments are specified in sample frames, with 0 meaning the default (65 for IMA4, 1 otherwise). IMA4 alignment must be a multiple of 8, plus 1 (e.g. alignment = n*8 + 1), otherwise an error will occur during (un)packing. Chenging the block alignment does not affect already-loaded sample data, only future unpack/pack operations... so for example, this is perfectly valid: // Load mono IMA4 data with a block alignment of 1024 bytes, or 2041 sample // frames. alBufferi(buffer, AL_UNPACK_BLOCK_ALIGNMENT_SOFT, 2041); alBufferData(buffer, AL_FORMAT_MONO_IMA4, data, data_len, srate); alBufferi(buffer, AL_UNPACK_BLOCK_ALIGNMENT_SOFT, 0);
* Store the original frame size alignment in the bufferChris Robinson2014-03-031-0/+1
|
* Move PATH_MAX fallback definitions to alMain.hChris Robinson2014-02-271-0/+9
|
* 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-171-6/+6
|
* Use a proper struct for envelope propertiesChris Robinson2014-01-171-20/+13
|
* Handle fontsound sample types using explicit enum valuesChris Robinson2014-01-151-0/+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.
* 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-131-0/+2
|
* Add a method to get the current MIDI stateChris Robinson2014-01-121-0/+1
|
* Load soundfont modulators into FluidSynthChris Robinson2014-01-061-2/+2
|
* Add methods to get and set modulator properties on fontsoundsChris Robinson2014-01-052-3/+48
|
* Move some soundfont methods to ALsoundfontChris Robinson2014-01-051-0/+2
|
* Add storage for a default soundfont objectChris Robinson2014-01-032-0/+4
|
* Avoid using alFontsoundiSOFT when loading a soundfontChris Robinson2014-01-031-0/+2
| | | | This should now make the soundfont loader thread-safe.
* Use a uint map for modulatorsChris Robinson2014-01-021-3/+6
|
* Mostly load into fontsound objects directlyChris Robinson2014-01-021-5/+1
| | | | 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-021-3/+2
|
* Update soundfont selection functionsChris Robinson2013-12-291-4/+4
| | | | | A filename is no longer specified, and alMidiSoundfontsSOFT is renamed to alMidiSoundfontvSOFT.
* Add the last remaining "real-time" propertiesChris Robinson2013-12-292-0/+18
|
* Add chorus and reverb send propertiesChris Robinson2013-12-292-0/+5
|
* Add pan and attenuation propertiesChris Robinson2013-12-292-0/+6
|
* Add tuning propertiesChris Robinson2013-12-292-1/+10
|
* Add filter propertiesChris Robinson2013-12-292-0/+9
|
* Add modulation envelope propertiesChris Robinson2013-12-292-0/+18
|
* Add a few more pitch propertiesChris Robinson2013-12-292-0/+7
|
* Add volume envelope propertiesChris Robinson2013-12-292-0/+19
|
* Add support for the fontsound loop modeChris Robinson2013-12-292-0/+4
|
* Add alLoadSoundfontSOFT to load a soundfont via callbackChris Robinson2013-12-281-0/+2
| | | | | | | | | | | | | | | | | | | | | 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.
* Add a method to set and get soundfontsChris Robinson2013-12-271-4/+12
| | | | | The main purpose of this is to select soundfonts for playback, eventually, instead of the existing method that takes a filename.
* Allow specifying some fontsound sample propertiesChris Robinson2013-12-261-0/+9
|
* Remove the generator listChris Robinson2013-12-261-14/+5
|
* Allow specifying key and velocity ranges on fontsoundsChris Robinson2013-12-261-0/+10
|
* Add methods to set and get sounds on a presetChris Robinson2013-12-251-0/+4
|
* Store a list of sounds in the presetChris Robinson2013-12-251-0/+2
|
* Remove the zone, sample, and instrument object typesChris Robinson2013-12-252-74/+0
|
* Add methods to add generators and modulators to fontsoundsChris Robinson2013-12-251-0/+2
|
* Add a new fontsound object typeChris Robinson2013-12-252-0/+50
| | | | This is basically a combined preset and intrument zone with sample header.
* Allow querying the soundfont sample length and format typeChris Robinson2013-12-241-0/+1
|
* Add methods to get and set presets on a soundfontChris Robinson2013-12-231-2/+8
|
* Add methods to get and set a preset object's preset and bank numbersChris Robinson2013-12-232-2/+11
|
* Better protect against improper alSoundfontSamplesSOFT callsChris Robinson2013-12-201-0/+1
|
* Add functions to set a soundfont's sample dataChris Robinson2013-12-192-0/+9
|