aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Add a function to get a list of data filesChris Robinson2015-10-031-1/+1
| | | | | | 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.
* Revert "Only use SDL1 with SDL_sound"Chris Robinson2015-09-301-23/+18
| | | | This reverts commit 8883ce1cef86c07d6eaa7e0eff2e132e181184f0.
* Only use SDL1 with SDL_soundChris Robinson2015-09-281-18/+23
|
* Check for pthread_*_np functions in pthread_np.h when it existsChris Robinson2015-08-131-4/+10
|
* Make installation of headers and libraries optionalAaron Jacobs2015-08-121-31/+40
|
* Check for snprintf in stdio.hChris Robinson2015-06-071-1/+1
| | | | This works better for VS2015, which adds support for the function.
* Add a skeleton backend for JACKChris Robinson2014-12-211-0/+22
|
* Check that atomic_load works with a const _AtomicChris Robinson2014-09-051-1/+1
| | | | | | | The original C11 spec does not allow atomic_load to work on const _Atomic variables, which we sometimes do in alGet* methods, despite the fact that it does not modify the variable. An update to the C spec corrects this oversight, and GCC 4.9 has allowed it anyway, while Clang 3.4 does not.
* Fix the __get_cpuid cmake checkChris Robinson2014-09-051-1/+1
|
* Include the common sources when building staticallyChris Robinson2014-08-231-1/+5
|
* Use the POSITION_INDEPENDENT_CODE target property when availableChris Robinson2014-08-161-7/+12
|
* Don't force specific compile flags for the different build typesChris Robinson2014-08-161-17/+7
|
* Search for the correct include and lib directories for the DX SDKChris Robinson2014-08-151-3/+0
| | | | And only set them when needed.
* Release 1.16.0openal-soft-1.16.0Chris Robinson2014-08-141-2/+2
|
* Try the __cpuid intrinsic if GCC's __get_cpuid isn't availableChris Robinson2014-08-111-0/+11
|
* Check for GCC's __get_cpuid before using itChris Robinson2014-08-111-0/+9
|
* Only support dsound and mmdevapi on WindowsChris Robinson2014-08-111-36/+35
|
* Don't try to generate .def or .lib files when building staticallyChris Robinson2014-08-101-18/+20
|
* Add an option to build an import .lib with dlltool on mingwChris Robinson2014-08-101-22/+48
| | | | | | Also make sure the ordinals are stripped from the .def file (using sed), so that the generated .lib will link apps to the DLL using function names instead of ordinals.
* Properly set FluidSynth's include dir for older cmake versionsChris Robinson2014-08-101-1/+1
|
* Create a .def file when building with MinGWChris Robinson2014-08-101-0/+3
| | | | | Preferably we'd tell CMake to make it itself instead of specifiying compiler- specific flags, but there doesn't seem to be a way to.
* Add a 48khz HRTF data setChris Robinson2014-08-071-0/+1
| | | | | Made by simply using makehrtf's resampling option with the 44.1hz KEMAR data set.
* Enable large file supportChris Robinson2014-08-051-0/+10
|
* Load fluidsynth dynamically when possibleChris Robinson2014-08-051-33/+34
|
* Don't try to use internal visibilityChris Robinson2014-07-261-8/+3
| | | | | A number of functions are passed as callbacks to external libraries, which internal visiiblity doesn't allow.
* Support C11 atomicsChris Robinson2014-07-231-0/+10
|
* Require SSE for SSE2, and SSE2 for SSE4.1Chris Robinson2014-06-071-2/+2
|
* Add SSE2 and SSE4.1 linear resamplersTimothy Arceri2014-06-061-10/+56
| | | | | 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.
* Add an ffmpeg-based example playerChris Robinson2014-06-021-1/+43
| | | | | | This example shows proper timing and A/V synchronization with an OpenAL stream. Requires the in-progress AL_SOFTX_source_length extension to avoid manually keeping track of the buffer queue length.
* Update the examples to use SDL2Chris Robinson2014-05-231-13/+17
| | | | | | This should make it easier to build the examples on 64-bit, where there are no premade dev libs for SDL1 on 64-bit mingw. FindSDL_sound.cmake has been updated to accept SDL or SDL2.
* Don't try to use the non-standard alloca.hChris Robinson2014-05-221-8/+1
| | | | | Variable-length arrays are C99 standard and are preferred over alloca. The only compiler that needs alloca (MSVC) has it in malloc.h.
* Build a common static lib for reusable codeChris Robinson2014-05-071-3/+15
|
* Move RWLock and UIntMap implementations to commonChris Robinson2014-05-071-0/+2
| | | | This should make the code in common completely self-reliant.
* Check for C99 _Bool supportChris Robinson2014-05-061-0/+11
|
* Move atomic method definitions to a separate common sourceChris Robinson2014-05-061-1/+2
|
* Move threads.c to a separate source dirChris Robinson2014-05-061-2/+3
| | | | | This will eventually serve to build a static lib of common wrapper methods, such as threads, mutexes, atomics, etc.
* Test _Alignas with 16 instead of 4Chris Robinson2014-05-051-1/+1
|
* C11's alignas is also sufficient for SSE aligningChris Robinson2014-05-051-7/+9
|
* Use a backup in case pthread_mutex_timedlock isn't availableChris Robinson2014-05-011-0/+2
|
* Simplify the cmake backend handling a bitChris Robinson2014-04-221-31/+24
|
* Fix adding backend include directoriesChris Robinson2014-04-221-16/+48
|
* Only declare backend options when the backend is availableChris Robinson2014-04-201-22/+20
|
* Don't link with libwinmm unless WinMM is enabledChris Robinson2014-04-191-11/+8
| | | | | We don't use timeGetTime for timing anymore, so winmm only needs to be linked when the winmm backend is enabled.
* Use a find module to look for DirectSoundChris Robinson2014-04-191-28/+27
|
* Use find cmake modules for more backendsChris Robinson2014-04-191-79/+76
|
* Use C11 alignas when availableChris Robinson2014-04-191-0/+10
|
* Dont bother trying _allocaChris Robinson2014-04-191-6/+1
| | | | | We prefer C99 variable-length arrays, and other systems (including MSVC9) don't have an issue with alloca.
* Set -D_GNU_SOURCE=1 -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 earlierChris Robinson2014-04-191-4/+5
|
* Use FindALSA.cmake to look for ALSAChris Robinson2014-04-191-15/+14
| | | | Also, only provide the ALSA_BACKEND_ALSA option if it's available
* Only define SSE, Neon, and FluidSynth options if they're availableChris Robinson2014-04-181-17/+15
|