Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make better use of the type range when converting from float | Chris Robinson | 2010-12-09 | 2 | -46/+38 |
| | |||||
* | Use simple loops instead of several explicit lines for the mono mixer | Chris Robinson | 2010-12-09 | 1 | -24/+6 |
| | |||||
* | Be a bit more generic with the multi-channel mixer loops | Chris Robinson | 2010-12-09 | 1 | -77/+73 |
| | |||||
* | Remove some now-unused functions | Chris Robinson | 2010-12-08 | 2 | -113/+0 |
| | |||||
* | Use "internal" visibility by default | Chris Robinson | 2010-12-08 | 1 | -1/+1 |
| | | | | | | All functions callable by apps, directly or indirectly (eg, through function pointers), are marked as "protected", and internal visibility can provide benefits over hidden when we know functions won't be called by other modules. | ||||
* | Add an IMA4 encoder | Chris Robinson | 2010-12-05 | 1 | -0/+139 |
| | |||||
* | Set the playing flag to TRUE when the dsound buffer starts playing | Chris Robinson | 2010-12-04 | 1 | -0/+1 |
| | |||||
* | Separate device format into 'channel config' and 'sample type' components | Chris Robinson | 2010-12-04 | 13 | -387/+475 |
| | |||||
* | Fix wave and null device calculations when the timer wraps | Chris Robinson | 2010-12-03 | 2 | -2/+2 |
| | |||||
* | No need to clamp the app-specified pitch | Chris Robinson | 2010-12-03 | 1 | -2/+0 |
| | |||||
* | Rename SrcFmt -> UserFmt | Chris Robinson | 2010-12-03 | 3 | -180/+180 |
| | |||||
* | Add functions to write (signed) byte and ushort samples to devices | Chris Robinson | 2010-12-02 | 1 | -1/+34 |
| | |||||
* | Remove incomplete EXT_buffer_sub_data, as it's (temporarily) superceded by ↵ | Chris Robinson | 2010-12-02 | 3 | -21/+4 |
| | | | | | | SOFT_buffer_sub_data The EXT version can come back when other implementations take an interest | ||||
* | Use memcpy to copy a string instead of sprintf | Chris Robinson | 2010-12-02 | 1 | -1/+1 |
| | |||||
* | Make a function static | Chris Robinson | 2010-12-02 | 2 | -3/+3 |
| | |||||
* | Remove unused macro | Chris Robinson | 2010-12-01 | 1 | -1/+0 |
| | |||||
* | Template-ize the device buffer writing functions | Chris Robinson | 2010-12-01 | 1 | -83/+144 |
| | |||||
* | Some general cleanups | Chris Robinson | 2010-12-01 | 1 | -13/+17 |
| | |||||
* | Don't limit IMA4 decoding to 2 channels | Chris Robinson | 2010-12-01 | 1 | -3/+3 |
| | |||||
* | Rename OUTPUTCHANNELS to something more descriptive | Chris Robinson | 2010-12-01 | 12 | -65/+65 |
| | |||||
* | Rename some variables | Chris Robinson | 2010-12-01 | 1 | -28/+28 |
| | |||||
* | Use min/max to clamp the IMA4 sample and index values | Chris Robinson | 2010-12-01 | 1 | -6/+6 |
| | |||||
* | Fix handling of -32768 in the muLaw encoder | Chris Robinson | 2010-12-01 | 1 | -1/+7 |
| | |||||
* | Don'f fail if realloc returns NULL for 0 sizes | Chris Robinson | 2010-12-01 | 1 | -2/+2 |
| | |||||
* | Make sure the muLaw sample encoder is inlined | Chris Robinson | 2010-11-30 | 1 | -1/+1 |
| | |||||
* | Fix IMA4 decoding | Chris Robinson | 2010-11-30 | 1 | -4/+5 |
| | |||||
* | Fix some comments and line spacing | Chris Robinson | 2010-11-30 | 1 | -12/+18 |
| | |||||
* | Fix int-to-double conversion | Chris Robinson | 2010-11-30 | 1 | -1/+1 |
| | |||||
* | Make muLaw decoding work similar to encoding | Chris Robinson | 2010-11-30 | 1 | -8/+11 |
| | |||||
* | Implement a muLaw encoder | Chris Robinson | 2010-11-30 | 1 | -2/+70 |
| | |||||
* | Rename the IMA4 block decoder function | Chris Robinson | 2010-11-30 | 1 | -2/+2 |
| | |||||
* | Handle all channel configurations for double | Chris Robinson | 2010-11-30 | 1 | -6/+14 |
| | |||||
* | Allow LoadData to handle IMA4 data | Chris Robinson | 2010-11-30 | 1 | -82/+62 |
| | |||||
* | Let the storable format enum values share the input format enum values where ↵ | Chris Robinson | 2010-11-29 | 1 | -10/+10 |
| | | | | they overlap | ||||
* | Clean up muLaw format loading a bit | Chris Robinson | 2010-11-29 | 1 | -13/+12 |
| | |||||
* | Allow converting IMA4 to types other than short | Chris Robinson | 2010-11-29 | 1 | -69/+115 |
| | |||||
* | Check for a couple missing input formats and remove an unneeded default case | Chris Robinson | 2010-11-29 | 1 | -4/+2 |
| | |||||
* | Let DecomposeInputType verify the format passed to alBufferSubDataSOFT | Chris Robinson | 2010-11-29 | 1 | -64/+26 |
| | |||||
* | Pass the input channel config and sample type to LoadData | Chris Robinson | 2010-11-29 | 1 | -71/+40 |
| | |||||
* | Make the decompose functions return false when given an unhandled format | Chris Robinson | 2010-11-29 | 2 | -67/+61 |
| | |||||
* | Combine two switch blocks | Chris Robinson | 2010-11-29 | 1 | -27/+18 |
| | |||||
* | Reorder some parameters for consistency | Chris Robinson | 2010-11-29 | 5 | -15/+15 |
| | |||||
* | Fix source offset calculations | Chris Robinson | 2010-11-29 | 1 | -2/+2 |
| | |||||
* | Store the decomposed source format in the buffer | Chris Robinson | 2010-11-29 | 3 | -54/+60 |
| | |||||
* | Keep a handle on the buffer with the format when queueing new buffers | Chris Robinson | 2010-11-29 | 1 | -10/+7 |
| | |||||
* | Add IMA4 as a source data type | Chris Robinson | 2010-11-29 | 2 | -0/+12 |
| | |||||
* | Add support for (unsigned) int input formats | Chris Robinson | 2010-11-29 | 2 | -0/+124 |
| | |||||
* | Reorder and rename parameters for the format decomposition functions | Chris Robinson | 2010-11-29 | 2 | -62/+62 |
| | |||||
* | Uninline a couple more functions | Chris Robinson | 2010-11-29 | 2 | -54/+56 |
| | |||||
* | Store double formats as float | Chris Robinson | 2010-11-28 | 3 | -61/+12 |
| | | | | | The mixer will cut it down to float anyway, so it's unnecessary and needlessly creates more mixer functions |