aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
|