aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename alcGetLatency to ALCdevice_GetLatencyChris Robinson2013-11-021-2/+2
|
* Use an ALCbackend object to access playback backendsChris Robinson2013-10-271-2/+2
| | | | | | | This is the start of a backend redesign. Currently, a wrapper object is used to avoid having to redo all the backends at once, but they should slowly be converted to derive from ALCbackend instead. The ALCbackend interface can change as needed.
* Return only true or false from the source getters and settersChris Robinson2013-10-071-112/+105
|
* Remove al_try from alSource.cChris Robinson2013-10-071-325/+304
|
* Use a simpler U64 macro to make 64-bit constantsChris Robinson2013-10-061-1/+1
|
* Use a separate value for the maximum buffer channelsChris Robinson2013-07-231-1/+1
| | | | | | | Unlike the device, input buffers are accessed based on channel numbers instead of enums. This means the maximum number of channels they hold depends on the number of channels any one format can have, rather than the total number of recognized channels. Currently, this is 8 for 7.1.
* Silence some clang warningsChris Robinson2013-06-051-2/+2
|
* Simplify al_try codeChris Robinson2013-03-241-15/+13
|
* Properly convert uint values when getting them as int64Chris Robinson2012-12-071-2/+14
|
* SetSourceiv should never get AL_SAMPLE_OFFSET_LATENCY_SOFTChris Robinson2012-12-061-1/+4
|
* Use a helper to count the number of float/double values for a propertyChris Robinson2012-12-051-297/+177
|
* Use a helper to count the number of int(64) values for a propertyChris Robinson2012-12-051-306/+152
|
* Remove 'v' from the source enum namesChris Robinson2012-12-051-103/+100
|
* Add a comment to note the extension for sfvDistanceModelChris Robinson2012-12-051-4/+6
|
* Use an enum to handle int source propertiesChris Robinson2012-12-051-113/+160
|
* Use an enum to handle float source propertiesChris Robinson2012-12-051-60/+127
|
* Print an error if trying to handle a missed source propertyChris Robinson2012-12-051-0/+6
|
* Fix retrieving source gainChris Robinson2012-12-051-0/+4
|
* Fix retrieving the source's write offsetChris Robinson2012-11-011-2/+2
|
* Pass the offset latency properties to the set handlerChris Robinson2012-11-011-8/+18
|
* Set the proper error when trying to set AL_SAMPLE_OFFSET_LATENCY_SOFT or ↵Chris Robinson2012-11-011-1/+8
| | | | AL_SEC_OFFSET_LATENCY_SOFT
* Add explicit casts for MSVCChris Robinson2012-10-251-9/+9
|
* Add retrieval of missing source propertiesChris Robinson2012-10-211-0/+16
|
* 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
|