Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Remove some more hungarian notation | Chris Robinson | 2012-04-19 | 1 | -94/+94 |
| | |||||
* | Fix comment and rename the buffer's self-id | Chris Robinson | 2012-04-19 | 1 | -6/+6 |
| | |||||
* | Avoid shadowing a couple variables | Chris Robinson | 2012-04-16 | 1 | -4/+4 |
| | |||||
* | Add a COUNTOF macro to get the number of entries in a static array | Chris Robinson | 2012-02-19 | 1 | -2/+2 |
| | |||||
* | Move the endian test macro to alMain.h | Chris Robinson | 2012-02-15 | 1 | -5/+0 |
| | |||||
* | Ensure ALbyte3 and ALubyte3 are the proper size | Chris Robinson | 2012-02-07 | 1 | -0/+2 |
| | |||||
* | Pass the uncompressed sample count to LoadData and ConvertData for IMA4 | Chris Robinson | 2012-01-26 | 1 | -41/+56 |
| | |||||
* | Avoid a bit of code duplication | Chris Robinson | 2012-01-25 | 1 | -70/+29 |
| | |||||
* | Remove the unnecessary AL_MULAW_SOFT, AL_ALAW_SOFT, and AL_IMA4_SOFT defines | Chris Robinson | 2012-01-10 | 1 | -3/+0 |
| | |||||
* | Append _SOFT to the AL_SOFT_buffer_samples enums | Chris Robinson | 2012-01-10 | 1 | -49/+49 |
| | |||||
* | Use sample frames when handling the buffer length | Chris Robinson | 2011-10-04 | 1 | -32/+16 |
| | |||||
* | Get rid of some unnecessary casting | Chris Robinson | 2011-10-02 | 1 | -4/+4 |
| | |||||
* | Rename some parameters | Chris Robinson | 2011-10-02 | 1 | -18/+18 |
| | |||||
* | Remove the OriginalAlign buffer field, and calculate it as needed | Chris Robinson | 2011-10-01 | 1 | -6/+11 |
| | |||||
* | Fix potential divide-by-0 | Chris Robinson | 2011-10-01 | 1 | -5/+11 |
| | |||||
* | Add buffer properties to get the internal format, and the length in bytes, ↵ | Chris Robinson | 2011-10-01 | 1 | -1/+36 |
| | | | | | | | | | | | samples, and seconds The provided buffer lengths correspond to the source offsets, in that the byte length specifies the end of the byte offset (ie, when the buffer is used for a static source, the offset will range between 0 (inclusive) and the byte length (exclusive)). Although an application could use the AL_SIZE, AL_CHANNELS, AL_BITS, and AL_FREQUENCY properties to find the length in samples and seconds, the byte length cannot be reliably calculated this way. | ||||
* | Add support for AL_EXT_ALAW | Chris Robinson | 2011-10-01 | 1 | -2/+159 |
| | |||||
* | Centralize the Lookup and Remove macros | Chris Robinson | 2011-09-24 | 1 | -23/+20 |
| | |||||
* | Silence some MSVC precision warnings | Chris Robinson | 2011-09-22 | 1 | -10/+10 |
| | |||||
* | Use arrays instead of large switches to decompose formats | Chris Robinson | 2011-09-18 | 1 | -219/+106 |
| | |||||
* | Use a RWLock to protect access to a buffer instead of the device lock | Chris Robinson | 2011-09-11 | 1 | -31/+35 |
| | |||||
* | Avoid holding the context lock for the buffer functions | Chris Robinson | 2011-09-11 | 1 | -74/+114 |
| | |||||
* | Initialize source parameters before adding the source to the map | Chris Robinson | 2011-09-10 | 1 | -0/+1 |
| | |||||
* | Avoid the context lock when generating and deleting buffers | Chris Robinson | 2011-08-31 | 1 | -19/+9 |
| | |||||
* | Rename GetReffedContext to GetContextRef | Chris Robinson | 2011-08-30 | 1 | -1/+1 |
| | |||||
* | Don't lock the context while checking the validity of objects | Chris Robinson | 2011-08-30 | 1 | -2/+2 |
| | |||||
* | Use the reference counting functions for the buffer and auxiliary slot refs | Chris Robinson | 2011-08-29 | 1 | -4/+4 |
| | |||||
* | Always use the thunk functions to get object IDs | Chris Robinson | 2011-08-22 | 1 | -4/+4 |
| | |||||
* | Don't use the thunk array for object lookups | Chris Robinson | 2011-08-22 | 1 | -1/+1 |
| | |||||
* | Use mini/maxi/clampi and minu/maxu/clampu to replace min/max calls | Chris Robinson | 2011-08-16 | 1 | -18/+11 |
| | |||||
* | Move functions to where they're used | Chris Robinson | 2011-07-02 | 1 | -0/+40 |
| | |||||
* | Rename Suspend/ProcessContext since they are locking a mutex | Chris Robinson | 2011-06-30 | 1 | -42/+42 |
| | |||||
* | Allow alThunkAddEntry to return a proper error | Chris Robinson | 2011-06-17 | 1 | -2/+3 |
| | |||||
* | Avoid calling some AL functions from under the context lock | Chris Robinson | 2011-06-16 | 1 | -7/+10 |
| | | | | | | | There are still some more occurances to clear out (deletion in gen error, effects, some filters), which shall be coming up. There is a possibility for a deadlock between the listlock and the global/context lock, if another attempt to get the listlock is made while under the context lock. | ||||
* | Remove the databuffer functions and structs | Chris Robinson | 2011-06-15 | 1 | -76/+0 |
| | | | | It's been disabled for a while now, and not likely to be re-enabled. | ||||
* | Use signed samples for 8-bit storage | Chris Robinson | 2011-05-05 | 1 | -8/+8 |
| |