Chris Robinson
933f51a8bf
Only define struct timespec if _TIMESPEC_DEFINED isn't set
...
This matches what the mingw-w64 headers define with the struct.
2014-05-31 17:41:10 -07:00
Chris Robinson
1d45c439b8
Add extern "C" to common headers.
2014-05-29 04:22:30 -07:00
Chris Robinson
73614f228e
Add methods to exchange and compare-exchange RefCount values
2014-05-27 15:48:15 -07:00
Chris Robinson
f0b65aa6b7
Implement condition variables for Windows
2014-05-27 05:22:53 -07:00
Chris Robinson
b6e1042e8c
Implement condition variables (POSIX only!)
...
Windows requires Vista or newer to get the CONDITION_VARIABNLE API, but we
currently only require XP.
2014-05-26 03:52:55 -07:00
Chris Robinson
7d997277a0
AL_SOFT_block_alignment is now considered done
2014-05-22 12:27:07 -07:00
Chris Robinson
1d2504d12e
Make RefCount a non-integer type
...
It should only be accessed through the appropriate functions to ensure proper
atomicity.
2014-05-14 02:47:07 -07:00
Chris Robinson
8b7c71e20e
Always use unsigned int for RefCount
2014-05-07 23:49:06 -07:00
Chris Robinson
a2bddb7b40
Move RWLock and UIntMap implementations to common
...
This should make the code in common completely self-reliant.
2014-05-07 19:16:49 -07:00
Chris Robinson
1c01e94237
Move the static_assert definition to its own header
2014-05-07 02:28:25 -07:00
Chris Robinson
38b98de78e
Check for C99 _Bool support
2014-05-06 23:10:50 -07:00
Chris Robinson
0ea979a262
Move some headers to include/
...
Note, these are not installed. Only headers in include/AL/ are installed.
2014-05-06 18:29:53 -07:00
Chris Robinson
ba52ac9bcd
Finalize AL_SOFT_deferred_updates
2013-10-05 06:14:04 -07:00
Chris Robinson
8f14902290
Add ALC_EXT_DEFAULT_FILTER_ORDER to alext.h
2013-05-31 15:40:02 -07:00
Chris Robinson
4a3d36a176
Finalize AL_SOFT_source_latency
2012-10-31 05:09:42 -07:00
Chris Robinson
ad2643d8af
Clarify some comments, fix some definition ordering, and add some includes
2012-06-15 23:46:09 -07:00
Chris Robinson
b08bd3746e
Add AL_EXT_SOURCE_RADIUS to alext.h
2012-04-26 02:05:49 -07:00
Chris Robinson
39ab0b0aa3
Add AL_EXT_STEREO_ANGLES to alext.h
2012-04-26 01:19:25 -07:00
Chris Robinson
4188a5f3f3
Fix compiling al.h with C++
2012-04-24 02:51:23 -07:00
Chris Robinson
dfa38ed7a5
Reformat alc/h and al.h, and redo the comments
2012-04-21 04:34:08 -07:00
Chris Robinson
66c918c84b
Remove export pragmas from headers
...
Available information suggests it's only useful for Mac OS9 and earlier (not
OSX).
2012-04-20 22:53:47 -07:00
Chris Robinson
7e5b13aabd
Finalize ALC_SOFT_loopback
2012-03-15 15:21:15 -07:00
Chris Robinson
1f3c1091d3
Finalize AL_SOFT_direct_channels
2012-03-12 22:46:13 -07:00
Chris Robinson
9166432ccf
Fix typo in the "CarpetedHallway" reverb preset
2012-02-01 16:31:37 -08:00
Chris Robinson
c605e06e07
Make the EFX preset values explicit floats
2012-01-31 02:57:22 -08:00
Chris Robinson
ed037698fd
Reorder a couple effect presets
2012-01-29 22:16:39 -08:00
Chris Robinson
706f407ed5
Add some more reverb presets
2012-01-27 23:15:16 -08:00
Chris Robinson
37b17c8c78
Add the ability to specify a preset for forced reverb
2012-01-19 20:02:57 -08:00
Chris Robinson
e772fb7d0e
Finalize AL_SOFT_buffer_samples
2012-01-10 01:14:02 -08:00
Chris Robinson
84b5311257
Use an explicit 0 for the "no error" enums
2011-12-03 08:27:51 -08:00
Chris Robinson
d1011f8d37
Add AL_EXT_MULAW and AL_EXT_ALAW tokens to alext.h
2011-10-01 04:05:39 -07:00
Chris Robinson
0988023d30
Constify some parameters
2011-09-22 00:31:42 -07:00
Chris Robinson
357f841e88
Fix namespacing of EFX filter property values
2011-06-16 10:52:17 -07:00
Chris Robinson
60965e3a6c
Determine the function export attribute using CMake
2011-05-17 09:13:55 -07:00
Chris Robinson
4899674b6c
Move ALC_ENUMERATE_ALL_EXT enums to alc.h, to match other systems' headers
2011-03-14 09:04:41 -07:00
Chris Robinson
947aa1342c
Add ALC_EXT_DEDICATED to alext.h
2011-03-12 07:19:42 -08:00
Chris Robinson
20c8f9fe31
Add AL_EXT_FOLDBACK to alext.h
2011-03-12 06:35:45 -08:00
Chris Robinson
d9126eeb2c
Finalize the loop points extension as AL_SOFT_loop_points
2011-02-09 22:54:12 -08:00
Chris Robinson
3e702ae2bc
Improve static builds with MinGW
2010-11-28 16:19:11 -08:00
Chris Robinson
2d4453968d
Implement AL_SOFT_buffer_sub_data using the current AL_EXT_buffer_sub_data spec
...
This extension can be useful for some applications, but a full EXT version may
not be ready for some time. Using the SOFT moniker will help differentiate it
in case changes need to be done for the EXT version.
2010-09-21 09:43:35 -07:00
Chris Robinson
e7a555a953
Add an empty efx-creative.h header
...
This is for compatibility with projects that include it in Windows. Everything
from it is already defined in efx.h.
2010-05-21 11:21:35 -07:00
Chris Robinson
2220c22c90
Move incomplete extension declarations to alMain.h
2010-05-12 06:59:47 -07:00
Chris Robinson
4e54f93477
Make sure ALbyte and ALCbyte are signed
2010-03-28 23:24:41 -07:00
Chris Robinson
4ac1772149
No need to continue supporting _OPENAL32LIB
2010-03-28 02:12:32 -07:00
Chris Robinson
661059bf0f
Rename alcMakeCurrent to alcSetThreadContext
2010-03-23 19:49:31 -07:00
Chris Robinson
7fb4c4ce4f
Move extension function declarations to alext.h/efx.h
2010-03-23 18:21:55 -07:00
Chris Robinson
556e9b8fee
Use protected visibility for exported API functions
...
Protected visibility is like default visibility, in that functions will be
"exported" from the library. However, it also guarantees that references to the
functions from within the library will be to the library's version, even if the
symbols are overriden by the application.
2010-03-22 23:10:29 -07:00
Chris Robinson
2355d6a4a0
Use ptrdiff types for databuffer offset/length handling
...
Should improve addressing for non-32-bit systems
2010-03-18 14:46:33 -07:00
Chris Robinson
e1965fe7d9
Convert CR/LF -> LF
...
Spotted by Alam Arias
2010-03-18 14:23:31 -07:00
Chris Robinson
9d4107a515
Add AL_EXT_MULAW_MCFORMATS tokens to alext.h
2010-03-13 18:39:12 -08:00