Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Require SSE for SSE2, and SSE2 for SSE4.1 | Chris Robinson | 2014-06-07 | 1 | -2/+2 |
| | |||||
* | Add SSE2 and SSE4.1 linear resamplers | Timothy Arceri | 2014-06-06 | 1 | -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 player | Chris Robinson | 2014-06-02 | 1 | -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 SDL2 | Chris Robinson | 2014-05-23 | 1 | -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.h | Chris Robinson | 2014-05-22 | 1 | -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 code | Chris Robinson | 2014-05-07 | 1 | -3/+15 |
| | |||||
* | Move RWLock and UIntMap implementations to common | Chris Robinson | 2014-05-07 | 1 | -0/+2 |
| | | | | This should make the code in common completely self-reliant. | ||||
* | Check for C99 _Bool support | Chris Robinson | 2014-05-06 | 1 | -0/+11 |
| | |||||
* | Move atomic method definitions to a separate common source | Chris Robinson | 2014-05-06 | 1 | -1/+2 |
| | |||||
* | Move threads.c to a separate source dir | Chris Robinson | 2014-05-06 | 1 | -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 4 | Chris Robinson | 2014-05-05 | 1 | -1/+1 |
| | |||||
* | C11's alignas is also sufficient for SSE aligning | Chris Robinson | 2014-05-05 | 1 | -7/+9 |
| | |||||
* | Use a backup in case pthread_mutex_timedlock isn't available | Chris Robinson | 2014-05-01 | 1 | -0/+2 |
| | |||||
* | Simplify the cmake backend handling a bit | Chris Robinson | 2014-04-22 | 1 | -31/+24 |
| | |||||
* | Fix adding backend include directories | Chris Robinson | 2014-04-22 | 1 | -16/+48 |
| | |||||
* | Only declare backend options when the backend is available | Chris Robinson | 2014-04-20 | 1 | -22/+20 |
| | |||||
* | Don't link with libwinmm unless WinMM is enabled | Chris Robinson | 2014-04-19 | 1 | -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 DirectSound | Chris Robinson | 2014-04-19 | 1 | -28/+27 |
| | |||||
* | Use find cmake modules for more backends | Chris Robinson | 2014-04-19 | 1 | -79/+76 |
| | |||||
* | Use C11 alignas when available | Chris Robinson | 2014-04-19 | 1 | -0/+10 |
| | |||||
* | Dont bother trying _alloca | Chris Robinson | 2014-04-19 | 1 | -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 earlier | Chris Robinson | 2014-04-19 | 1 | -4/+5 |
| | |||||
* | Use FindALSA.cmake to look for ALSA | Chris Robinson | 2014-04-19 | 1 | -15/+14 |
| | | | | Also, only provide the ALSA_BACKEND_ALSA option if it's available | ||||
* | Only define SSE, Neon, and FluidSynth options if they're available | Chris Robinson | 2014-04-18 | 1 | -17/+15 |
| | |||||
* | Check explicitly for pthread_mutexattr_setkind_np before use | Chris Robinson | 2014-04-17 | 1 | -0/+3 |
| | |||||
* | Bump _WIN32_WINNT to 0x0502 (XP SP2) for GetThreadId | Chris Robinson | 2014-04-16 | 1 | -4/+4 |
| | |||||
* | Use C11's static_assert when available | Chris Robinson | 2014-04-07 | 1 | -0/+8 |
| | |||||
* | Use FIND_LIBRARY to look for the CoreAudio framework | Chris Robinson | 2014-04-05 | 1 | -3/+6 |
| | |||||
* | Check for ftw and _wfindfirst | Chris Robinson | 2014-03-27 | 1 | -0/+8 |
| | |||||
* | Use C99 VLA instead of alloca when available | Chris Robinson | 2014-03-25 | 1 | -11/+26 |
| | |||||
* | Don't try to use __restrict as a replacement for restrict | Chris Robinson | 2014-03-23 | 1 | -13/+2 |
| | | | | | The compiler it's intended for, MSVC, can't use it anyway because of problems it causes with __declspec(restrict). | ||||
* | Add a stub 'soft' MIDI synth handler | Chris Robinson | 2014-03-22 | 1 | -0/+1 |
| | | | | | Eventually this one will be used to handle MIDI internally, using our own mixers and resamplers. | ||||
* | Move the sample conversion routines to a separate file | Chris Robinson | 2014-03-05 | 1 | -0/+1 |
| | |||||
* | Use alloca for temp space decoding/encoding IMA4 blocks | Chris Robinson | 2014-03-03 | 1 | -0/+14 |
| | |||||
* | Move the default hrtf table to an external file | Chris Robinson | 2014-02-23 | 1 | -0/+10 |
| | |||||
* | Include sys/sysconf.h if available for sysconf() | Chris Robinson | 2014-01-18 | 1 | -0/+1 |
| | |||||
* | Add alLoadSoundfontSOFT to load a soundfont via callback | Chris Robinson | 2013-12-28 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | Some hefty caveats: This function is not thread-safe. In particular, the current context affecting the thread must not be changed, and the provided soundfont must not be altered while the function is executing. Ideally, this will be fixed. Error handling is poor. Some RIFF structure errors may not be caught (e.g. sub- chunks with sizes greater than the parent chunk allows for), and generated AL errors are ignored, possibly leading to resource leaks in certain situations. These should be fixed in time. There is minimal error checking on the provided soundfont ID. It does not ensure a valid ID has been provided, nor does it ensure the provided soundfont can be modified. These short-comings should be fixed eventually. Proper cleanup is the responsibility of the caller. The caller must get the preset objects from the soundfont before deleting it, and the fontsound objects from each preset before deleting them, to make sure all resources are properly deleted. | ||||
* | Remove the zone, sample, and instrument object types | Chris Robinson | 2013-12-25 | 1 | -1/+0 |
| | |||||
* | Add a new fontsound object type | Chris Robinson | 2013-12-25 | 1 | -0/+1 |
| | | | | This is basically a combined preset and intrument zone with sample header. | ||||
* | Allow creating instrument objects | Chris Robinson | 2013-12-19 | 1 | -0/+1 |
| | |||||
* | Move the soundfont and preset extension functions to separate sources | Chris Robinson | 2013-12-19 | 1 | -0/+2 |
| | |||||
* | Move the base MidiSynth to a separate file | Chris Robinson | 2013-12-17 | 1 | -0/+1 |
| | |||||
* | Move the dummy MIDI handler to a separate file | Chris Robinson | 2013-12-17 | 1 | -0/+1 |
| | |||||
* | Move FluidSynth to its own file | Chris Robinson | 2013-12-17 | 1 | -1/+6 |
| | |||||
* | Add an option for FLuidSynth to handle MIDI | Chris Robinson | 2013-11-28 | 1 | -0/+28 |
| | |||||
* | Add a MIDI event queue | Chris Robinson | 2013-11-27 | 1 | -0/+1 |
| | | | | In preparation for a MIDI extension. | ||||
* | Try to make sure GCC is providing C99 inline semantics | Chris Robinson | 2013-11-24 | 1 | -24/+45 |
| | |||||
* | Explicitly define _POSIX_C_SOURCE and _XOPEN_SOURCE | Chris Robinson | 2013-11-06 | 1 | -3/+3 |
| | | | | | Set them to 200809L and 700 respectively, instead of assuming _GNU_SOURCE will do it. | ||||
* | Set -D_GNU_SOURCE=1 earlier | Chris Robinson | 2013-11-05 | 1 | -4/+4 |
| | |||||
* | Include strings.h when available | Chris Robinson | 2013-11-05 | 1 | -0/+1 |
| |