Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Avoid using realloc in a number of places | Chris Robinson | 2016-05-21 | 1 | -0/+1 |
| | |||||
* | Hold the buffer map lock while handling the buffer | Chris Robinson | 2016-05-10 | 1 | -2/+11 |
| | |||||
* | Start AL_SOFT_buffer_samples2 as a replacement for AL_SOFT_buffer_samples | Chris Robinson | 2016-04-25 | 1 | -11/+11 |
| | |||||
* | Add preliminary AL_EXT_BFORMAT support | Chris Robinson | 2014-10-31 | 1 | -0/+4 |
| | | | | | 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 | -2/+2 |
| | |||||
* | Standardize some New/Delete methods | Chris Robinson | 2014-06-30 | 1 | -1/+1 |
| | |||||
* | Load soundfont samples into an ALbuffer | Chris Robinson | 2014-06-29 | 1 | -0/+5 |
| | | | | | 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 |
| | |||||
* | Add an extension to support MSADPCM buffer formats | Chris Robinson | 2014-03-04 | 1 | -0/+1 |
| | |||||
* | Add an extension to alter the block alignment for buffer unpack/pack ops | Chris Robinson | 2014-03-04 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | 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 buffer | Chris Robinson | 2014-03-03 | 1 | -0/+1 |
| | |||||
* | Move some inline methods to their appropriate headers | Chris Robinson | 2013-11-04 | 1 | -0/+5 |
| | |||||
* | Use C99 inline semantics | Chris Robinson | 2013-11-04 | 1 | -3/+2 |
| | |||||
* | Fix effect slot struct declarations so KDevelop doesn't barf on them | Chris Robinson | 2013-10-07 | 1 | -2/+1 |
| | |||||
* | Use a separate value for the maximum buffer channels | Chris Robinson | 2013-07-23 | 1 | -0/+1 |
| | | | | | | | 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. | ||||
* | Use C99's inline instead of __inline | Chris Robinson | 2013-05-28 | 1 | -3/+3 |
| | |||||
* | Fix up some more header includes | Chris Robinson | 2012-09-14 | 1 | -1/+1 |
| | |||||
* | Fix comment and rename the buffer's self-id | Chris Robinson | 2012-04-19 | 1 | -3/+4 |
| | |||||
* | Remove the unnecessary AL_MULAW_SOFT, AL_ALAW_SOFT, and AL_IMA4_SOFT defines | Chris Robinson | 2012-01-10 | 1 | -3/+3 |
| | |||||
* | Append _SOFT to the AL_SOFT_buffer_samples enums | Chris Robinson | 2012-01-10 | 1 | -20/+20 |
| | |||||
* | Use sample frames when handling the buffer length | Chris Robinson | 2011-10-04 | 1 | -3/+4 |
| | |||||
* | Remove the OriginalAlign buffer field, and calculate it as needed | Chris Robinson | 2011-10-01 | 1 | -2/+1 |
| | |||||
* | Add buffer properties to get the internal format, and the length in bytes, ↵ | Chris Robinson | 2011-10-01 | 1 | -0/+1 |
| | | | | | | | | | | | 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 | -0/+1 |
| | |||||
* | Use arrays instead of large switches to decompose formats | Chris Robinson | 2011-09-18 | 1 | -3/+0 |
| | |||||
* | Use a RWLock to protect access to a buffer instead of the device lock | Chris Robinson | 2011-09-11 | 1 | -0/+2 |
| | |||||
* | Use the reference counting functions for the buffer and auxiliary slot refs | Chris Robinson | 2011-08-29 | 1 | -1/+1 |
| | |||||
* | Fix a comment | Chris Robinson | 2011-05-05 | 1 | -1/+1 |
| | |||||
* | Use signed samples for 8-bit storage | Chris Robinson | 2011-05-05 | 1 | -1/+1 |
| | |||||
* | Add support for packed 24-bit samples | Chris Robinson | 2011-04-26 | 1 | -1/+3 |
| | |||||
* | Use the defines for the UserFmt* and Fmt* types | Chris Robinson | 2011-03-16 | 1 | -23/+23 |
| | |||||
* | Rename SrcFmt -> UserFmt | Chris Robinson | 2010-12-03 | 1 | -38/+38 |
| | |||||
* | Let the storable format enum values share the input format enum values where ↵ | Chris Robinson | 2010-11-29 | 1 | -10/+10 |
| | | | | they overlap | ||||
* | Make the decompose functions return false when given an unhandled format | Chris Robinson | 2010-11-29 | 1 | -3/+3 |
| | |||||
* | Reorder some parameters for consistency | Chris Robinson | 2010-11-29 | 1 | -5/+5 |
| | |||||
* | Store the decomposed source format in the buffer | Chris Robinson | 2010-11-29 | 1 | -3/+4 |
| | |||||
* | Add IMA4 as a source data type | Chris Robinson | 2010-11-29 | 1 | -0/+1 |
| | |||||
* | Add support for (unsigned) int input formats | Chris Robinson | 2010-11-29 | 1 | -0/+2 |
| | |||||
* | Reorder and rename parameters for the format decomposition functions | Chris Robinson | 2010-11-29 | 1 | -4/+4 |
| | |||||
* | Uninline a couple more functions | Chris Robinson | 2010-11-29 | 1 | -54/+4 |
| | |||||
* | Store double formats as float | Chris Robinson | 2010-11-28 | 1 | -2/+0 |
| | | | | | The mixer will cut it down to float anyway, so it's unnecessary and needlessly creates more mixer functions | ||||
* | Rename some stuff for consistency | Chris Robinson | 2010-11-28 | 1 | -8/+8 |
| | |||||
* | Don't store the internal format in the buffer | Chris Robinson | 2010-11-28 | 1 | -7/+70 |
| | | | | The type and channel config are good enough | ||||
* | Support rear formats directly in the mixer | Chris Robinson | 2010-11-27 | 1 | -0/+1 |
| | |||||
* | Support muLaw with LoadData | Chris Robinson | 2010-11-27 | 1 | -0/+1 |
| | |||||
* | Don't inline the decompose function | Chris Robinson | 2010-11-27 | 1 | -87/+1 |
| | |||||
* | Decompose input buffer formats and use it when converting uncompressed data | Chris Robinson | 2010-11-27 | 1 | -0/+23 |
| | |||||
* | Rename a function | Chris Robinson | 2010-11-27 | 1 | -2/+2 |
| | |||||
* | Support 64-bit double buffers directly | Chris Robinson | 2010-11-27 | 1 | -0/+1 |
| |