aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
Commit message (Collapse)AuthorAgeFilesLines
* Use a helper method to convert i64 values to the proper typesChris Robinson2012-10-141-74/+88
|
* Check i64 property ranges before passing them to the int handlersChris Robinson2012-10-141-19/+76
| | | | | | | Note that some properties (e.g. AL_BUFFER, AL_DIRECT_FILTER) actually take unsigned int values, and so are checked against the unsigned range even though they eventually get casted to an int. The int handler casts them back as needed.
* Implement the double and int64 source settersChris Robinson2012-10-131-4/+249
| | | | | Note that currently the int64 setters do not range check before being passed to the int setters, erroneously chopping off the upper bits.
* Add missing source property retrievalsChris Robinson2012-09-141-0/+12
|
* Set the error if setting a new integer source offset failsChris Robinson2012-09-011-1/+1
|
* Set an error closer to where it occurs for setting source propertiesChris Robinson2012-08-291-523/+443
|
* Add helpers to set source propertiesChris Robinson2012-08-281-366/+463
|
* Constify some parametersChris Robinson2012-08-211-12/+12
|
* Add the option to retrieve the source offset and latency in secondsChris Robinson2012-08-201-0/+51
|
* Fix getting the RW offsets with alGetSourcei64vSOFTChris Robinson2012-08-201-0/+2
|
* Add methods to get source properties as doublesChris Robinson2012-08-201-0/+136
|
* Fix a parameter nameChris Robinson2012-08-201-3/+3
|
* Use helper functions to read source propertiesChris Robinson2012-08-201-229/+442
| | | | And make sure the 64-bit int getters to get 32-bit int values
* Use the correct 64-bit int type for the extension functionsChris Robinson2012-08-201-3/+4
|
* Add a macro to help make a 64-bit valueChris Robinson2012-08-191-1/+1
|
* Add the start of AL_SOFT_source_latencyChris Robinson2012-08-181-0/+87
| | | | | This extension will provide a way for apps to get accurate latency and playback position information
* Make sure sources are 16-byte alignedChris Robinson2012-08-151-4/+4
| | | | | They contain fields that require 16-byte alignment for SSE (and Neon?) acceleration.
* Don't use all caps for enum value namesChris Robinson2012-06-281-1/+1
|
* Reorganize some ALsource fieldsChris Robinson2012-04-271-17/+17
|
* Couple small error handling fixupsChris Robinson2012-04-241-2/+1
|
* Add try/catch-like macros to handle errors, and convert alSource.c to use themChris Robinson2012-04-231-909/+743
|
* Some alSource.c cleanupsChris Robinson2012-04-211-157/+119
|
* Use a consistent name for the self-id fieldChris Robinson2012-04-191-7/+6
|
* Fix comment and rename the buffer's self-idChris Robinson2012-04-191-2/+2
|
* Remove hungarian notation from sourcesChris Robinson2012-04-191-399/+399
|
* Clear the position fraction when setting a new source offsetChris Robinson2012-04-161-0/+1
|
* Use a double to store the source offset and don't use milliseconds for secondsChris Robinson2012-04-161-25/+16
|
* Remove unused variablesChris Robinson2012-02-171-2/+0
|
* Make sure the source write position is at least 15ms ahead of the readChris Robinson2012-02-161-0/+3
|
* Use more proper enum names for the resamplerChris Robinson2012-02-121-3/+3
|
* Use a proper enum value for setting the default distance modelChris Robinson2012-02-121-1/+1
|
* Rename non_virtual_channels to direct_channelsChris Robinson2012-02-091-7/+7
|
* Use a proper typedef for handling atomic pointer swapsChris Robinson2012-01-011-3/+3
|
* Set AL_STOPPED after setting AL_PLAYING when a source has nothing to playChris Robinson2011-10-151-8/+8
|
* Use sample frames when handling the buffer lengthChris Robinson2011-10-041-63/+53
|
* Centralize the Lookup and Remove macrosChris Robinson2011-09-241-39/+30
|
* Silence some MSVC precision warningsChris Robinson2011-09-221-3/+3
|
* Return int and float config values through a parameterChris Robinson2011-09-181-1/+1
| | | | | This allows the getter functions to return whether or not the option exists without a separate call and check.
* Remove GetLockedContextChris Robinson2011-09-111-12/+29
|
* Use a RWLock to protect access to a buffer instead of the device lockChris Robinson2011-09-111-40/+46
|
* Small fixes to setting the source's direct filter and auxiliary sendChris Robinson2011-09-111-5/+5
|
* Avoid holding the context lock while setting source parametersChris Robinson2011-09-111-37/+74
| | | | Note that some parameters still need the lock when getting or setting them.
* Initialize source parameters before adding the source to the mapChris Robinson2011-09-101-1/+1
|
* Don't defer stopped and initial source state changesChris Robinson2011-09-101-4/+4
| | | | | | | Typically when these are set, an app will be releasing the buffer from the source, possibly to immediately reuse it. There would be an extra burden placed on the app if it was required to process updates before it could fully release the buffer from the source.
* Store the filter gains directly in the source instead of duplicate filter ↵Chris Robinson2011-08-311-10/+22
| | | | objects
* Rename GetReffedContext to GetContextRefChris Robinson2011-08-301-3/+3
|
* Add a limit to the UIntMap size and use it for sources and effect slotsChris Robinson2011-08-301-8/+1
|
* Add functions to retrieve the source from the source map while removing itChris Robinson2011-08-301-7/+4
|
* Lock the context while deleting sources only as neededChris Robinson2011-08-301-6/+14
|
* Don't lock the context while checking the validity of objectsChris Robinson2011-08-301-2/+2
|