Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Store the old-style backend funcs in the wrapper | Chris Robinson | 2014-03-17 | 1 | -1/+0 |
| | |||||
* | Avoid GCC's macro arg concat extension with IDE parsing | Chris Robinson | 2014-03-17 | 1 | -1/+1 |
| | |||||
* | Use the correct array size | Chris Robinson | 2014-03-08 | 1 | -2/+2 |
| | |||||
* | Improve int-to-float and uint-to-float conversions | Chris Robinson | 2014-03-08 | 1 | -2/+2 |
| | |||||
* | Only require MSADPCM block alignment to be a multiple of 2 | Chris Robinson | 2014-03-06 | 1 | -2/+2 |
| | |||||
* | Only sign-expand the nibble when needed | Chris Robinson | 2014-03-06 | 1 | -4/+3 |
| | |||||
* | Move the sample conversion routines to a separate file | Chris Robinson | 2014-03-05 | 3 | -1261/+1278 |
| | |||||
* | Implement a simplistic MSADPCM encoder | Chris Robinson | 2014-03-05 | 1 | -19/+47 |
| | | | | It's not particularly good, but it's better than silence. | ||||
* | Allocate enough temp space for the ADPCM decoders and encoders | Chris Robinson | 2014-03-05 | 1 | -4/+4 |
| | |||||
* | Use specialized methods for converting ALshort to IMA4 and MSADPCM | Chris Robinson | 2014-03-05 | 1 | -2/+32 |
| | | | | As before, to avoid unnecessary direct copies | ||||
* | Use specialized methods for converting IMA4 and MSADPCM to ALshort | Chris Robinson | 2014-03-05 | 1 | -8/+39 |
| | | | | | Since the decoder methods already convert to ALshort, there's no need to use a temp buffer that's just going to copy directly to the destination. | ||||
* | Use maxi to clamp an int to a lower-bound | Chris Robinson | 2014-03-05 | 1 | -1/+1 |
| | |||||
* | Expand the sign bit on the initial MSADPCM delta value | Chris Robinson | 2014-03-05 | 1 | -0/+1 |
| | |||||
* | Add an extension to support MSADPCM buffer formats | Chris Robinson | 2014-03-04 | 4 | -27/+339 |
| | |||||
* | Add an extension to alter the block alignment for buffer unpack/pack ops | Chris Robinson | 2014-03-04 | 3 | -16/+80 |
| | | | | | | | | | | | | | | | | 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); | ||||
* | Parameterize the block alignment | Chris Robinson | 2014-03-04 | 1 | -111/+152 |
| | |||||
* | Use alloca for temp space decoding/encoding IMA4 blocks | Chris Robinson | 2014-03-03 | 1 | -4/+11 |
| | |||||
* | Reduce explicit template declarations and ignore IMA4-to-IMA4 conversions | Chris Robinson | 2014-03-03 | 1 | -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 buffer | Chris Robinson | 2014-03-03 | 3 | -12/+29 |
| | |||||
* | Move PATH_MAX fallback definitions to alMain.h | Chris Robinson | 2014-02-27 | 1 | -0/+9 |
| | |||||
* | Use OpenDataFile to load soundfonts relative to data directories | Chris Robinson | 2014-02-27 | 1 | -1/+1 |
| | |||||
* | Move OpenDataFile to helpers.c so other sources can use it | Chris Robinson | 2014-02-27 | 1 | -0/+1 |
| | |||||
* | Move HRTF macros and function declarations to a separate header | Chris Robinson | 2014-02-23 | 2 | -14/+1 |
| | |||||
* | Add a return value to FindHrtfFormat | Chris Robinson | 2014-02-23 | 1 | -1/+1 |
| | |||||
* | Add an alcGetInteger64vSOFT method and a way to get the device clock | Chris Robinson | 2014-02-01 | 1 | -0/+11 |
| | |||||
* | Keep track of a device clock time, based on the number of samples processed | Chris Robinson | 2014-02-01 | 1 | -0/+7 |
| | |||||
* | Rename aftertouch to keypressure | Chris Robinson | 2014-01-17 | 3 | -8/+8 |
| | |||||
* | Use a proper struct for envelope properties | Chris Robinson | 2014-01-17 | 2 | -26/+19 |
| | |||||
* | Handle fontsound sample types using explicit enum values | Chris Robinson | 2014-01-15 | 2 | -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 paused | Chris Robinson | 2014-01-15 | 1 | -0/+3 |
| | | | | | Used to prevent UpdateDeviceParams from restarting the device, if a new context is created while paused. | ||||
* | Add an extension to pause audio processing | Chris Robinson | 2014-01-15 | 1 | -0/+10 |
| | |||||
* | Add a method to get soundfont samples | Chris Robinson | 2014-01-13 | 2 | -0/+37 |
| | |||||
* | Allow getting preset properties even when referenced | Chris Robinson | 2014-01-12 | 1 | -2/+0 |
| | |||||
* | Minor non-functional cleanup | Chris Robinson | 2014-01-12 | 1 | -5/+5 |
| | |||||
* | Add a method to get the current MIDI state | Chris Robinson | 2014-01-12 | 2 | -0/+27 |
| | |||||
* | Load soundfont modulators into FluidSynth | Chris Robinson | 2014-01-06 | 1 | -2/+2 |
| | |||||
* | Add methods to get and set modulator properties on fontsounds | Chris Robinson | 2014-01-05 | 3 | -3/+233 |
| | |||||
* | Move some soundfont methods to ALsoundfont | Chris Robinson | 2014-01-05 | 2 | -2/+100 |
| | |||||
* | Allow "deleting" the default soundfont | Chris Robinson | 2014-01-04 | 1 | -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 properties | Chris Robinson | 2014-01-04 | 1 | -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 range | Chris Robinson | 2014-01-03 | 1 | -2/+2 |
| | |||||
* | Allow selecting the default soundfont using ID 0 | Chris Robinson | 2014-01-03 | 1 | -1/+1 |
| | |||||
* | Add storage for a default soundfont object | Chris Robinson | 2014-01-03 | 4 | -4/+8 |
| | |||||
* | Move ALsoundfont methods to the right source file | Chris Robinson | 2014-01-03 | 1 | -0/+38 |
| | |||||
* | Avoid using alFontsoundiSOFT when loading a soundfont | Chris Robinson | 2014-01-03 | 2 | -201/+210 |
| | | | | This should now make the soundfont loader thread-safe. | ||||
* | Use a uint map for modulators | Chris Robinson | 2014-01-02 | 2 | -10/+15 |
| | |||||
* | Mostly load into fontsound objects directly | Chris Robinson | 2014-01-02 | 2 | -26/+127 |
| | | | | This leaves only one unsafe alFontsoundiSOFT call. | ||||
* | Move some error macros to alError.h | Chris Robinson | 2014-01-02 | 2 | -16/+15 |
| | |||||
* | Move some preset alloc/dealloc code to separate functions | Chris Robinson | 2014-01-02 | 2 | -28/+73 |
| | |||||
* | Move alLoadSoundfontSOFT to alSoundfont.c | Chris Robinson | 2014-01-02 | 2 | -42/+42 |
| |