summaryrefslogtreecommitdiffstats
path: root/OpenAL32/alBuffer.c
Commit message (Collapse)AuthorAgeFilesLines
* Pass the uncompressed sample count to LoadData and ConvertData for IMA4Chris Robinson2012-01-261-41/+56
|
* Avoid a bit of code duplicationChris Robinson2012-01-251-70/+29
|
* Remove the unnecessary AL_MULAW_SOFT, AL_ALAW_SOFT, and AL_IMA4_SOFT definesChris Robinson2012-01-101-3/+0
|
* Append _SOFT to the AL_SOFT_buffer_samples enumsChris Robinson2012-01-101-49/+49
|
* Use sample frames when handling the buffer lengthChris Robinson2011-10-041-32/+16
|
* Get rid of some unnecessary castingChris Robinson2011-10-021-4/+4
|
* Rename some parametersChris Robinson2011-10-021-18/+18
|
* Remove the OriginalAlign buffer field, and calculate it as neededChris Robinson2011-10-011-6/+11
|
* Fix potential divide-by-0Chris Robinson2011-10-011-5/+11
|
* Add buffer properties to get the internal format, and the length in bytes, ↵Chris Robinson2011-10-011-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_ALAWChris Robinson2011-10-011-2/+159
|
* Centralize the Lookup and Remove macrosChris Robinson2011-09-241-23/+20
|
* Silence some MSVC precision warningsChris Robinson2011-09-221-10/+10
|
* Use arrays instead of large switches to decompose formatsChris Robinson2011-09-181-219/+106
|
* Use a RWLock to protect access to a buffer instead of the device lockChris Robinson2011-09-111-31/+35
|
* Avoid holding the context lock for the buffer functionsChris Robinson2011-09-111-74/+114
|
* Initialize source parameters before adding the source to the mapChris Robinson2011-09-101-0/+1
|
* Avoid the context lock when generating and deleting buffersChris Robinson2011-08-311-19/+9
|
* Rename GetReffedContext to GetContextRefChris Robinson2011-08-301-1/+1
|
* Don't lock the context while checking the validity of objectsChris Robinson2011-08-301-2/+2
|
* Use the reference counting functions for the buffer and auxiliary slot refsChris Robinson2011-08-291-4/+4
|
* Always use the thunk functions to get object IDsChris Robinson2011-08-221-4/+4
|
* Don't use the thunk array for object lookupsChris Robinson2011-08-221-1/+1
|
* 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
|