Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove a couple more uses of BYTE3 | Chris Robinson | 2017-03-31 | 1 | -2/+0 |
| | |||||
* | Remove the (u)byte3 sample formats | Chris Robinson | 2017-03-31 | 1 | -4/+0 |
| | | | | | They're not accessible since the removal of the buffer_samples extension, and were kind of clunky to work with as 24-bit packed values. | ||||
* | Use ALsizei in more places | Chris Robinson | 2017-01-18 | 1 | -10/+10 |
| | |||||
* | Use separate macros for atomics that don't take a memory order | Chris Robinson | 2016-12-20 | 1 | -9/+9 |
| | |||||
* | Remove use of DECL_CONST | Chris Robinson | 2016-09-06 | 1 | -4/+4 |
| | | | | | No idea if it was really gaining us anything, but removing it fixes a crash I was getting with libs built with Clang. | ||||
* | Initialize some enums to dummy values | Chris Robinson | 2016-08-31 | 1 | -8/+9 |
| | |||||
* | Use separate arrays for UIntMap keys and values | Chris Robinson | 2016-07-04 | 1 | -2/+2 |
| | |||||
* | Avoid using realloc in a number of places | Chris Robinson | 2016-05-21 | 1 | -12/+23 |
| | |||||
* | Hold the buffer map lock while handling the buffer | Chris Robinson | 2016-05-10 | 1 | -1/+42 |
| | |||||
* | Start AL_SOFT_buffer_samples2 as a replacement for AL_SOFT_buffer_samples | Chris Robinson | 2016-04-25 | 1 | -6/+9 |
| | |||||
* | Support AL_EXT_MULAW_BFORMAT | Chris Robinson | 2014-10-31 | 1 | -0/+2 |
| | |||||
* | Add preliminary AL_EXT_BFORMAT support | Chris Robinson | 2014-10-31 | 1 | -0/+28 |
| | | | | | Currently missing the AL_ORIENTATION source property. Gain stepping also does not work. | ||||
* | Make the buffer's pack and unpack properties atomic | Chris Robinson | 2014-09-03 | 1 | -9/+9 |
| | |||||
* | Update COPYING to the latest ↵ | François Cami | 2014-08-18 | 1 | -2/+2 |
| | | | | https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source | ||||
* | Remove an unused variable | Chris Robinson | 2014-07-01 | 1 | -2/+0 |
| | |||||
* | Standardize some New/Delete methods | Chris Robinson | 2014-06-30 | 1 | -6/+6 |
| | |||||
* | Load soundfont samples into an ALbuffer | Chris Robinson | 2014-06-29 | 1 | -29/+45 |
| | | | | | Also remove ALsoundfont's now-unneeded sample storage functions and struct fields. | ||||
* | Mark a few more functions as const | Chris Robinson | 2014-05-23 | 1 | -4/+4 |
| | |||||
* | Initialize newformat to AL_NONE instead of a valid format | Chris Robinson | 2014-05-15 | 1 | -6/+2 |
| | |||||
* | Make RefCount a non-integer type | Chris Robinson | 2014-05-14 | 1 | -3/+3 |
| | | | | | It should only be accessed through the appropriate functions to ensure proper atomicity. | ||||
* | Only require MSADPCM block alignment to be a multiple of 2 | Chris Robinson | 2014-03-06 | 1 | -2/+2 |
| | |||||
* | Move the sample conversion routines to a separate file | Chris Robinson | 2014-03-05 | 1 | -1261/+3 |
| | |||||
* | 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 | 1 | -27/+309 |
| | |||||
* | Add an extension to alter the block alignment for buffer unpack/pack ops | Chris Robinson | 2014-03-04 | 1 | -16/+71 |
| | | | | | | | | | | | | | | | | 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 | 1 | -8/+22 |
| | |||||
* | Use C99 inline in more places | Chris Robinson | 2013-11-04 | 1 | -0/+2 |
| | |||||
* | Use C99 inline semantics | Chris Robinson | 2013-11-04 | 1 | -0/+3 |
| | |||||
* | Use an UNUSED macro instead of void-tagging unused parameters | Chris Robinson | 2013-10-07 | 1 | -16/+4 |
| | |||||
* | Remove al_try usage from alBuffer.c | Chris Robinson | 2013-10-07 | 1 | -246/+230 |
| | |||||
* | Start using a simpler method for error handling | Chris Robinson | 2013-10-06 | 1 | -335/+328 |
| | | | | This helps avoid the al_try/al_throwerr/al_endtry stuff. | ||||
* | Use a separate value for the maximum buffer channels | Chris Robinson | 2013-07-23 | 1 | -4/+4 |
| | | | | | | | Unlike the device, input buffers are accessed based on channel numbers instead of enums. This means the maximum number of channels they hold depends on the number of channels any one format can have, rather than the total number of recognized channels. Currently, this is 8 for 7.1. | ||||
* | Silence some clang warnings | Chris Robinson | 2013-06-05 | 1 | -6/+7 |
| | |||||
* | Use C99's inline instead of __inline | Chris Robinson | 2013-05-28 | 1 | -110/+110 |
| | |||||
* | Fix possible overflow when converting float to int | Chris Robinson | 2013-05-20 | 1 | -2/+2 |
| | | | | | Same as with the mixer, we can only use 25 bits of precision from floats. | ||||
* | Simplify al_try code | Chris Robinson | 2013-03-24 | 1 | -5/+4 |
| | |||||
* | Use int instead of long for the IMA4 tables | Chris Robinson | 2012-11-10 | 1 | -3/+3 |
| | |||||
* | Load Int and UInt samples as float with alBufferData | Chris Robinson | 2012-11-10 | 1 | -2/+2 |
| | | | | | This shouldn't really ever happen, as there's no 32-bit (u)int formats alBufferData can take. | ||||
* | Don't include alu.h in alMain.h | Chris Robinson | 2012-09-14 | 1 | -2/+1 |
| | |||||
* | Minor typo fixes | Chris Robinson | 2012-06-28 | 1 | -2/+2 |
| | |||||
* | Don't use all caps for enum value names | Chris Robinson | 2012-06-28 | 1 | -6/+6 |
| | |||||
* | Switch alBuffer.c to the new error handling scheme, and get rid of more ↵ | Chris Robinson | 2012-04-24 | 1 | -415/+373 |
| | | | | hungarian notation |