aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
Commit message (Collapse)AuthorAgeFilesLines
* Use size_t for the vector size and capacityChris Robinson2014-09-301-17/+10
|
* Use a standard pointer-sized integer typeChris Robinson2014-09-041-1/+1
|
* Update COPYING to the latest ↵François Cami2014-08-181-2/+2
| | | | https://www.gnu.org/licenses/old-licenses/lgpl-2.0.txt to fix the FSF' address Fix the FSF' address in the source
* Assume SSE is available if building with support and no run-time checkingChris Robinson2014-08-111-0/+12
|
* Try the __cpuid intrinsic if GCC's __get_cpuid isn't availableChris Robinson2014-08-111-10/+42
|
* Check for GCC's __get_cpuid before using itChris Robinson2014-08-111-2/+2
|
* Simplify some vector size range checksChris Robinson2014-08-101-12/+14
|
* Give NULL for null-vector iteratorsChris Robinson2014-08-101-1/+3
|
* Pass pointer-to-vector types as char* instead of void*Chris Robinson2014-08-101-8/+8
| | | | | C aliasing rules only allow char* to alias an otherwise-incompatible type, rather than void*.
* Check the current directory first for data filesChris Robinson2014-07-211-2/+16
|
* Don't require pre-declaring vector typesChris Robinson2014-07-061-0/+1
|
* Don't try to set fp precision with __control87_2 or _controlfpChris Robinson2014-06-081-10/+4
|
* Print CPU extensions that are unavailable but requestedChris Robinson2014-06-081-6/+6
|
* Add SSE2 and SSE4.1 linear resamplersTimothy Arceri2014-06-061-4/+11
| | | | | Currently the only way SSE 4.1 is detected is by using __get_cpuid, i.e. with GCC. Windows' IsProcessorFeaturePresent does not report SSE4.1 capabilities.
* Ensure a proper amount of new elements are being reserved when insertingChris Robinson2014-05-221-1/+5
|
* Move RWLock and UIntMap implementations to commonChris Robinson2014-05-071-187/+0
| | | | This should make the code in common completely self-reliant.
* Use standard types for the RWLockChris Robinson2014-05-071-7/+7
|
* Move atomic method definitions to a separate common sourceChris Robinson2014-05-061-7/+0
|
* Use ALboolean for al_string_empty's return typeChris Robinson2014-04-301-1/+1
|
* Rename althread_once to be more C11-likeChris Robinson2014-04-171-11/+0
|
* Handle the lib name as UTF-8Chris Robinson2014-04-171-14/+28
|
* Make and use a C11-like altimespec_get wrapper functionChris Robinson2014-04-171-39/+0
|
* Rename althread_key_ wrappers to altss_ and move it to threads.h/cChris Robinson2014-04-171-25/+0
|
* Avoid using a Sleep() wrapperChris Robinson2014-04-161-10/+0
|
* Use althrd_yield instead of alsched_yieldChris Robinson2014-04-161-4/+2
|
* Move the threads and mutex wrappers to threads.cChris Robinson2014-04-161-256/+0
|
* Fix Windows' almtx_timedlockChris Robinson2014-04-161-6/+6
|
* Implement a C11-like thread wrapper and use it in mmdevapi and pulseaudioChris Robinson2014-04-161-11/+158
|
* Use a C11-like mutex wrapper instead of CRITICAL_SECTIONsChris Robinson2014-04-161-26/+96
|
* Use a helper to detect a path slash on WindowsChris Robinson2014-04-131-2/+5
|
* Use VECTOR_INSERT to copy and append stringsChris Robinson2014-04-131-12/+8
|
* Pass in the vector insertion point as a pointerChris Robinson2014-04-131-1/+3
|
* Avoid referencing the start iterator twice for vector insertionChris Robinson2014-04-131-2/+3
|
* Add a VECTOR_INSERT method to insert a range of elements at onceChris Robinson2014-04-091-0/+20
|
* Fix the default XDG_DATA_DIRS pathsChris Robinson2014-04-071-1/+1
|
* Properly compare al_stringsChris Robinson2014-04-031-2/+24
|
* Recognize NULL as an empty vector/stringChris Robinson2014-04-031-4/+9
|
* Don't pass the vector's capacity as a parameter to vector_reserveChris Robinson2014-03-311-4/+4
|
* strlen returns size_tChris Robinson2014-03-281-1/+1
|
* Use al_string to handle mmdevapi and dsound device namesChris Robinson2014-03-281-0/+27
|
* Add an al_string type and use it for the device listsChris Robinson2014-03-281-0/+64
|
* Properly handle special folder names with extended charactersChris Robinson2014-03-281-26/+43
|
* Wrap fopen calls under WindowsChris Robinson2014-03-281-5/+36
| | | | | | | The idea is that all filenames we deal with are encoded as UTF-8, but the Windows functions that take a char string interpret it using the ANSI codepage. So instead, we convert the UTF-8 string to a wchar string, and then use the wchar functions for proper extended character filename support.
* Add some integer casts, and a range checkChris Robinson2014-03-231-2/+7
|
* Increase the vector reserve as needed when pushing in new itemsChris Robinson2014-03-211-1/+8
|
* Rename the vector's Max field to CapacityChris Robinson2014-03-211-2/+2
|
* Add a generic vector interface and use it for the active effect slotsChris Robinson2014-03-211-0/+21
|
* Return the original value from CompExchange*Chris Robinson2014-03-091-2/+2
|
* Move PATH_MAX fallback definitions to alMain.hChris Robinson2014-02-271-10/+0
|
* Move OpenDataFile to helpers.c so other sources can use itChris Robinson2014-02-271-0/+133
|