Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Store mulaw and alaw samples directly in the buffer | Chris Robinson | 2018-01-17 | 1 | -2/+2 |
| | | | | | | | They're now decompressed on the fly in the mixer. This is not a significant performance issue given that it only needs a 512-byte lookup table, and the buffer stores half as much data (it may actually be faster, requiring less overall memory). | ||||
* | Define DECL_VLA where it's used | Chris Robinson | 2018-01-16 | 1 | -0/+7 |
| | |||||
* | Use ALsizei for some count/length variables | Chris Robinson | 2018-01-15 | 1 | -37/+37 |
| | |||||
* | Convert float samples to integer using a power-of-2 multiple | Chris Robinson | 2017-03-31 | 1 | -6/+8 |
| | |||||
* | Remove the (u)byte3 sample formats | Chris Robinson | 2017-03-31 | 1 | -111/+1 |
| | | | | | 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. | ||||
* | Convert integer samples to float using a power-of-2 divisor | Chris Robinson | 2017-03-31 | 1 | -7/+7 |
| | | | | | | | This should cut down on unnecessary quantization noise (however minor) for 8- and 16-bit samples. Unfortunately a power-of-2 multiple can't be used as easily for converting float samples to integer, due to integer types having a non- power-of-2 maximum amplitude (it'd require more per-sample clamping). | ||||
* | Reorganize sample type conversion functions | Chris Robinson | 2016-08-31 | 1 | -286/+129 |
| | | | | To help avoid redundant manual definitions. | ||||
* | Add some asserts to verify block alignment for conversion | Chris Robinson | 2014-05-20 | 1 | -0/+8 |
| | |||||
* | Use C11's static_assert when available | Chris Robinson | 2014-04-07 | 1 | -2/+2 |
| | |||||
* | Use C99 VLA instead of alloca when available | Chris Robinson | 2014-03-25 | 1 | -8/+4 |
| | |||||
* | 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 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 | 1 | -0/+1266 |