Chris Robinson
b3c389c0a0
Constify and properly type some variables and struct members
2010-03-24 22:43:08 -07:00
Chris Robinson
15b9fc9099
Improve timing for the wave file writer
2010-03-24 22:20:55 -07:00
Chris Robinson
1c14c13c2f
Fix 8-bit output with the Wave Writer
2010-03-24 16:58:58 -07:00
Chris Robinson
b79b92967f
Fix comment typo
2010-03-24 16:53:11 -07:00
Chris Robinson
f77832fea2
Remove unnecessary NULL check
2010-03-24 03:43:37 -07:00
Chris Robinson
4ce8a17afd
Reduce some indentation
2010-03-24 02:23:00 -07:00
Chris Robinson
702c62c9a2
Use a global handle to store the process-wide context
2010-03-23 21:05:29 -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
52834744fa
Return if PortAudio fails to load in Windows
2010-03-23 17:45:37 -07:00
Chris Robinson
3e9934e810
Mark extension functions with AL_API/ALC_API
2010-03-23 17:44:01 -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
ef92c63455
Define AL_BUILD_LIBRARY only when building the lib
2010-03-22 23:09:04 -07:00
Chris Robinson
ae8858c516
Whitespace fixes
2010-03-22 15:12:20 -07:00
Chris Robinson
0691486813
Support PortAudio in Windows
2010-03-21 20:57:15 -07:00
Chris Robinson
49db3bf916
Cleanup and fixup Release* functions
2010-03-20 21:49:02 -07:00
Chris Robinson
99f28f25b0
Avoid calling alDelete* from alGen*
2010-03-20 21:38:05 -07:00
Chris Robinson
27358c8ce8
Don't expose enums for unsupported filter types
2010-03-20 20:30:43 -07:00
Chris Robinson
899fbdfe08
Add EAX Reverb and Echo parameters to the enum table
2010-03-20 20:24:50 -07:00
Chris Robinson
eea23a012a
Relax circular layout requirement
2010-03-20 00:54:44 -07:00
Chris Robinson
2235a53824
Reduce some indentation
2010-03-19 20:49:23 -07:00
Chris Robinson
52f82f0b94
Simplify removing the context handle from the device's context array
2010-03-19 14:53:32 -07:00
Chris Robinson
a572b13743
Don't use deprecated macros
2010-03-19 14:34:18 -07:00
Chris Robinson
4340a6f8fe
Remove another unnecessary assert
2010-03-19 01:35:57 -07:00
Chris Robinson
4be97dc735
Use proper storage type for the new format
2010-03-19 01:26:56 -07:00
Chris Robinson
799126df0e
Use a better method to derive the offset from the data pointer
2010-03-18 19:32:03 -07:00
Alam Arias
a65ec178df
cast AL_SIZE value to ALint
2010-03-18 16:33:16 -07:00
Alam Arias
cf4027df38
Mingw64's shlobj.h wants at least 0x501
2010-03-18 16:33:08 -07:00
Alam Arias
127b845960
DXSDK_DIR is MSVC only
2010-03-18 16:32:53 -07:00
Alam Arias
e3637b8452
use ALintptrEXT in alcReverb.c
2010-03-18 16:32:49 -07:00
Alam Arias
745d36dc76
add _CRT_NONSTDC_NO_DEPRECATE define for MSVC
2010-03-18 16:32:44 -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
781444d12c
Use size_t where appropriate
...
Spotted by Alam Arias
2010-03-18 14:21:06 -07:00
Chris Robinson
b6571904ce
Define _WIN32_IE to 0x400 only if it's a lesser value by default
...
Spotted by Alam Arias
2010-03-18 13:46:18 -07:00
Chris Robinson
97b25755e7
Support capture with PortAudio
2010-03-18 01:58:25 -07:00
Chris Robinson
bdfafb454b
Create WAVEFORMATEXTENSIBLE wave files for multi-channel and float support
2010-03-18 00:53:58 -07:00
Chris Robinson
0fee20a415
Simplifiy verification loops
2010-03-17 20:16:02 -07:00
Chris Robinson
186e0f3b04
Use a separate list for NULL-device extensions
2010-03-17 19:46:20 -07:00
Chris Robinson
2e6c5e590f
Remove old comment
2010-03-17 19:28:01 -07:00
Chris Robinson
9d4e715ee7
Don't return unsupported effects from alGetEnumValue
2010-03-17 19:20:52 -07:00
Chris Robinson
932e5ec9b8
The enums are the same as with mcforamts, so advertise AL_EXT_MULAW too
2010-03-17 19:15:51 -07:00
Chris Robinson
af5fb1d535
Remove unnecessary assert
2010-03-17 19:04:02 -07:00
Chris Robinson
2953daebf5
GetSourceOffset can't fail
2010-03-17 15:19:00 -07:00
Chris Robinson
dd82b68175
Handle source offsets for muLaw formats
2010-03-17 15:15:12 -07:00
Chris Robinson
05a081a7b8
Allow selecting databuffer 0
2010-03-17 14:04:25 -07:00
Chris Robinson
9c417d33cc
clock_gettime is available only when _POSIX_TIMERS is greater than 0
2010-03-17 12:04:33 -07:00
Chris Robinson
975f92fc84
Remove unnecessary stop call
2010-03-16 21:29:55 -07:00
Chris Robinson
0097beb84c
Remove unused variable
2010-03-16 21:12:36 -07:00
Chris Robinson
65e16cc8bb
Remove unneeded checks
2010-03-16 20:29:01 -07:00