aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alBuffer.c
Commit message (Collapse)AuthorAgeFilesLines
* Use mini/maxi/clampi and minu/maxu/clampu to replace min/max callsChris Robinson2011-08-161-18/+11
|
* Move functions to where they're usedChris Robinson2011-07-021-0/+40
|
* Rename Suspend/ProcessContext since they are locking a mutexChris Robinson2011-06-301-42/+42
|
* Allow alThunkAddEntry to return a proper errorChris Robinson2011-06-171-2/+3
|
* Avoid calling some AL functions from under the context lockChris Robinson2011-06-161-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 structsChris Robinson2011-06-151-76/+0
| | | | It's been disabled for a while now, and not likely to be re-enabled.
* Use signed samples for 8-bit storageChris Robinson2011-05-051-8/+8
|
* Use the new format names when possibleChris Robinson2011-04-291-21/+21
|
* Reorder some casesChris Robinson2011-04-271-2/+2
|
* Minor fix for 24-bit conversions to float and doubleChris Robinson2011-04-271-4/+4
|
* Fix 24-bit sample loading for big-endianChris Robinson2011-04-271-6/+36
|
* Add support for packed 24-bit samplesChris Robinson2011-04-261-0/+161
|
* Move Convert_IMA4 into the template declarationsChris Robinson2011-03-211-52/+13
|
* Use nested loops when converting dataChris Robinson2011-03-191-4/+7
|
* Make LoadData return an error if the dst format is not valid or compatibleChris Robinson2011-03-161-9/+4
|
* Add alIsBufferFormatSupportedSOFTChris Robinson2011-03-161-0/+17
|
* Combine ConvertInput* and ConvertOutput* helpersChris Robinson2011-03-161-123/+57
| | | | | The UserFmt* enum types are a complete set of all recognized channel configs and sample types, so casting Fmt* enum types to them is valid.
* Add alGetBufferSamplesSOFTChris Robinson2011-03-161-7/+109
|
* Buffers made with alBufferSamplesSOFT always reference the internal formatChris Robinson2011-03-161-14/+27
| | | | This is not necessarily the same as the format of the originating data
* Add alBufferSubSamplesSOFTChris Robinson2011-03-161-0/+64
|
* Add alBufferSamplesSOFT, as an initial start to AL_SOFT_buffer_samplesChris Robinson2011-03-161-0/+61
|
* Pass the number of compressed frames to LoadDataChris Robinson2011-03-161-21/+34
|
* Rename ConvertData* to ConvertInput*Chris Robinson2011-03-131-11/+11
|
* Fix a compiler warning about checking differing enum typesChris Robinson2011-03-101-1/+1
| | | | | One of the enum types is actually a subset of the other, and share the same integer values for compatible enumation values
* Filter NaN sample values when converting floats and doublesChris Robinson2011-03-041-4/+4
|
* Finalize the loop points extension as AL_SOFT_loop_pointsChris Robinson2011-02-091-2/+2
|
* Another fix for float-to-int conversionsChris Robinson2010-12-091-2/+2
|
* Fix up some conversionsChris Robinson2010-12-091-10/+17
|
* Make better use of the type range when converting from floatChris Robinson2010-12-091-24/+24
|
* Add an IMA4 encoderChris Robinson2010-12-051-0/+139
|
* Rename SrcFmt -> UserFmtChris Robinson2010-12-031-136/+136
|
* Remove incomplete EXT_buffer_sub_data, as it's (temporarily) superceded by ↵Chris Robinson2010-12-021-5/+0
| | | | | | SOFT_buffer_sub_data The EXT version can come back when other implementations take an interest
* Some general cleanupsChris Robinson2010-12-011-13/+17
|
* Don't limit IMA4 decoding to 2 channelsChris Robinson2010-12-011-3/+3
|
* Rename some variablesChris Robinson2010-12-011-28/+28
|
* Use min/max to clamp the IMA4 sample and index valuesChris Robinson2010-12-011-6/+6
|
* Fix handling of -32768 in the muLaw encoderChris Robinson2010-12-011-1/+7
|
* Don'f fail if realloc returns NULL for 0 sizesChris Robinson2010-12-011-2/+2
|
* Make sure the muLaw sample encoder is inlinedChris Robinson2010-11-301-1/+1
|
* Fix IMA4 decodingChris Robinson2010-11-301-4/+5
|
* Fix some comments and line spacingChris Robinson2010-11-301-12/+18
|
* Fix int-to-double conversionChris Robinson2010-11-301-1/+1
|
* Make muLaw decoding work similar to encodingChris Robinson2010-11-301-8/+11
|
* Implement a muLaw encoderChris Robinson2010-11-301-2/+70
|
* Rename the IMA4 block decoder functionChris Robinson2010-11-301-2/+2
|
* Handle all channel configurations for doubleChris Robinson2010-11-301-6/+14
|
* Allow LoadData to handle IMA4 dataChris Robinson2010-11-301-82/+62
|
* Clean up muLaw format loading a bitChris Robinson2010-11-291-13/+12
|
* Allow converting IMA4 to types other than shortChris Robinson2010-11-291-69/+115
|
* Check for a couple missing input formats and remove an unneeded default caseChris Robinson2010-11-291-4/+2
|