aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/base.c
Commit message (Collapse)AuthorAgeFilesLines
* Make a couple functions inlineChris Robinson2018-01-121-0/+2
|
* "Convert" the QSA backend to the new APIChris Robinson2017-06-181-154/+0
| | | | | | | | | | I say "convert" because it takes the lazy way and essentially just embeds the wrappers into the backend. It's done this way because I lack the means to check any changes, even syntactically. This also means the device's ExtraData field is still needed. However, this does mean all the backends are now using the new API. Code related to the old interface can now be removed.
* Don't use the mutex in the base getClockLatency implementationChris Robinson2017-02-281-3/+8
|
* Return some device latency by defaultChris Robinson2017-02-181-2/+7
| | | | | | | A device will never have 0 latency. OpenAL Soft itself uses a sample buffer length of UpdateSize*NumUpdates, and during playback will have about (NumUpdates-1) periods filled, more or less. Without a more accurate measurement from the playback system, this is better than reporting 0.
* Clean up a couple variable names and declarationsChris Robinson2016-05-301-3/+2
|
* Change the backend getLatency method to return the clock time tooChris Robinson2016-05-281-4/+15
| | | | | | This will also allow backends to better synchronize the tracked clock time with the device output latency, without necessarily needing to lock if the backend API can allow for it.
* Use the macros to allocate the wrapper backendsChris Robinson2015-09-241-6/+2
|
* Remove the GetLatency method from the old BackendFuncsChris Robinson2014-09-081-15/+2
|
* Use a C11-like mutex wrapper instead of CRITICAL_SECTIONsChris Robinson2014-04-161-4/+8
|
* Use a void* for the backend Delete method paramChris Robinson2014-03-221-14/+4
|
* Store the old-style backend funcs in the wrapperChris Robinson2014-03-171-20/+28
|
* Add some missing 'static'sChris Robinson2013-11-241-4/+4
|
* Remove the Lock and Unlock methods from BackendFuncsChris Robinson2013-11-041-28/+4
| | | | | All backends that still use the old interface use the default locking methods, which is also used by the ALCbackend base.
* Forward some wrapper functions to the base methodChris Robinson2013-11-041-31/+31
|
* Convert the OSS backend to the new interfaceChris Robinson2013-11-021-0/+6
|
* Set vtables in the constructorChris Robinson2013-11-021-4/+4
|
* Add default handlers for reset, captureSamples, and availableSamplesChris Robinson2013-10-291-0/+15
|
* Don't return a voidChris Robinson2013-10-281-4/+4
|
* Create and use a backend wrapper for captureChris Robinson2013-10-281-25/+126
|
* Add audio capture methods to ALCbackendChris Robinson2013-10-281-0/+10
|
* Move ALCbackend base stuff to a separate fileChris Robinson2013-10-281-0/+122