Commit Graph

832 Commits

Author SHA1 Message Date
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
Chris Robinson
2687155200 Get rid of more alIs* calls 2010-03-16 20:23:46 -07:00
Chris Robinson
49321961e8 Effect and filter ID 0 is valid 2010-03-16 19:14:05 -07:00
Chris Robinson
65f43637ce Avoid some alIs* calls while under the context lock
Instead, use functions that verify the ID by searching the object list and
returning its handle
2010-03-16 18:54:36 -07:00
Chris Robinson
f37cfc486d Pass the context to alSetError 2010-03-16 17:35:51 -07:00
Chris Robinson
a337a59fb8 Use alext.h for extension definitions 2010-03-16 16:25:30 -07:00
Chris Robinson
ec917e8e2f Rename some struct members for consistency 2010-03-16 15:37:41 -07:00
Chris Robinson
89d84131a4 Avoid dereferencing a NULL buffer when unqueueing buffer 0 2010-03-15 16:10:21 -07:00
Chris Robinson
2033f60d24 Print an error when realloc fails 2010-03-15 14:28:38 -07:00
Chris Robinson
d4159430f0 Set the buffer length for Pulse when opening the device
So it will properly scale with context frequency requests
2010-03-14 22:20:55 -07:00
Chris Robinson
14255a38fc Pulse's buffer size is not a good measurement for the update size
Lie and say 20ms instead, since there is no stable method to get such info
2010-03-14 21:45:23 -07:00
Chris Robinson
6c5f1b78d7 Reduce the mixing buffers to the next power of two 2010-03-14 03:30:42 -07:00
Chris Robinson
1f2d3a0132 Remove duplication of setting source angles 2010-03-14 03:23:18 -07:00
Chris Robinson
c23e4ed412 Add support for AL_EXT_DOUBLE 2010-03-13 21:32:45 -08:00