aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
Commit message (Collapse)AuthorAgeFilesLines
* Clean up some messy rounding codeChris Robinson2017-06-261-0/+3
|
* Implement GetProcPath for FreeBSDrdb2017-06-091-1/+20
|
* Use separate atomic macros for pointersChris Robinson2017-04-141-2/+2
|
* Rename al_string_* functions to alstr_*Chris Robinson2017-04-041-76/+76
|
* Make ALsourceProps' Send array dynamically sizedChris Robinson2017-02-141-0/+1
| | | | | | ALsourceProps' Send[] array is placed at the end of the struct, and given an indeterminate size. Extra space is allocated at the end of each struct given the number of auxiliary sends set for the device.
* Properly capitalize NEONChris Robinson2017-02-071-1/+1
|
* Clear trailing whitespace from the cpu features stringChris Robinson2017-02-071-0/+5
|
* Use separate macros for atomics that don't take a memory orderChris Robinson2016-12-201-4/+4
|
* Include wtypes.h for defining Windows' property keysChris Robinson2016-10-041-0/+1
|
* Only WARN if GetProcPath fails to find the binaryChris Robinson2016-09-081-1/+1
|
* Properly check if /proc/cpuinfo openedChris Robinson2016-09-081-1/+1
|
* Check for run-time NEON support by reading /proc/cpuinfoChris Robinson2016-09-071-2/+32
| | | | | | Less than ideal since documentations warn it may not list 'neon' even if it's really supported. However, the "proper" APIs to check for NEON extensions don't seem to exist in my toolchain.
* mmdevapi: Allow specifying output device by it's audio endpoint GUID or by ↵Dmytry Lavrov2016-09-061-0/+1
| | | | the device id string (Oculus VR api requires you to play back on a specific device).
* Add some helper wrappers to mmap filesChris Robinson2016-08-311-0/+107
|
* Combine VECTOR_RESIZE and VECTOR_RESERVEChris Robinson2016-07-261-80/+27
|
* Avoid passing NULL to a parameter that must not be NULLChris Robinson2016-07-261-2/+3
|
* Look in the executable's dir for another config fileChris Robinson2016-06-041-0/+97
| | | | | On Windows it'll look for alsoft.ini, and elsewhere is alsoft.conf. This applies after the user-local settings and before ALSOFT_CONF.
* Remove unnecessary VECTOR_INSERTChris Robinson2016-05-301-39/+30
|
* Avoid using realloc in a number of placesChris Robinson2016-05-211-1/+4
|
* Shorten VECTOR_ITER_ macros to VECTOR_Chris Robinson2016-04-151-21/+21
|
* Avoid double slashes when constructing pathsChris Robinson2016-04-071-3/+11
|
* Move the aligned malloc functions to the common libChris Robinson2016-03-291-50/+0
|
* Add and use a copy-range string functionChris Robinson2016-02-241-8/+20
|
* Replace the hrtf_tables option with hrtf-pathsChris Robinson2016-02-231-464/+83
|
* Remove an unused functionChris Robinson2016-02-231-149/+0
|
* Avoid using scandir/alphasortChris Robinson2016-01-211-23/+46
| | | | | They require POSIX 2008, which is a bit too "new" for my current liking. We can do well enough with opendir/readdir/closedir and qsort.
* Fix slashes on the local path on WindowsChris Robinson2015-12-081-0/+3
|
* Use the ALSOFT_LOCAL_PATH env var instead of the CWDChris Robinson2015-12-081-4/+18
|
* Support %s as a string matching markerChris Robinson2015-12-051-1/+94
|
* Add a cast to silence an MSVC warningChris Robinson2015-11-061-2/+2
|
* Use a more appropriate type in MatchFilterChris Robinson2015-11-061-2/+2
|
* Add a comment about fegetenv possibly saving the SSE register for usChris Robinson2015-10-261-0/+2
|
* Fix absolute path detection on WindowsChris Robinson2015-10-141-2/+4
|
* Move the FIR4 from SSE2 to SSE3Chris Robinson2015-10-111-6/+18
| | | | | SSE3 can avoid the slow _MM_TRANSPOSE_PS4 call thanks to the inclusion of horizontal adds.
* Try to use the full path for the CWD instead of .Chris Robinson2015-10-061-8/+26
|
* Skip empty data directory entriesChris Robinson2015-10-041-3/+6
|
* Implement SearchDataFiles for WindowsChris Robinson2015-10-041-11/+296
|
* Add a function to get a list of data filesChris Robinson2015-10-031-0/+211
| | | | | | The method takes a marked-up filename (e.g. may include %r for a sample rate, %% for %, etc), and returns a vector of strings of found filenames that match. It will search the CWD, the local, and global data directories, in that order.
* Return the data file handle on Windows if it was openedChris Robinson2015-09-161-1/+1
|
* Avoid tracing wide-char stringsChris Robinson2015-02-071-21/+31
| | | | | | Because on Windows, traced strings are written to a char string, which causes UTF-16 strings to be converted to a narrow (non-UTF-8) encoding, potentially losing characters.
* Fix logging on WindowsChris Robinson2014-12-201-2/+2
|
* Support capture with mmdevapiChris Robinson2014-12-191-0/+1
|
* Handle logging Unicode strings on WindowsChris Robinson2014-12-191-38/+62
|
* Set the right variable when assuming CPU extensionsChris Robinson2014-12-191-3/+3
|
* Fix a potential leak when opening a data file on WindowsChris Robinson2014-12-011-0/+2
|
* Check mmdevice endpoint for being headphonesChris Robinson2014-11-271-0/+2
|
* Only warn when no data file could be openedChris Robinson2014-11-191-5/+2
|
* Use the minimum of the two string lengths for comparisonChris Robinson2014-10-131-1/+1
|
* Use more appropriate size typesChris Robinson2014-10-131-3/+3
|
* Use size_t for the vector size and capacityChris Robinson2014-09-301-17/+10
|