Chris Robinson
19aabd6d02
Add ALC_LOKI_audio_channel tokens to alext.h
2008-07-22 13:16:58 -07:00
Chris Robinson
87b5d7bc7b
Store extension list with a pointer, not a per-context array
2008-07-22 12:39:10 -07:00
Chris Robinson
646714b585
Set the new linking policy for CMake 2.6 to avoid warnings
2008-07-22 11:26:56 -07:00
Chris Robinson
eba60c30c5
Don't force initialization when shutting down
...
Thanks to Michael Simms
2008-07-17 18:45:21 -07:00
Chris Robinson
e66bb09156
Move (de)initialization into ALc.c and remove unneeded file
2008-07-17 18:38:07 -07:00
Chris Robinson
0042b1f80d
Implement doppler factor source property
2008-07-15 02:33:05 -07:00
Chris Robinson
6d416ee734
Add the reverb room rolloff to the source room rolloff, not override
2008-07-15 02:23:53 -07:00
Chris Robinson
97d3a45aff
Don't check the number of objects being deleted with the number currently allocated
...
Since apps can validly delete buffer 0, and delete the same source/buffer multiple times in a single call
2008-07-11 09:12:11 -07:00
Chris Robinson
9e9ff44b17
Use volatile for member variables that are changed in a different thread
2008-07-10 20:36:28 -07:00
Chris Robinson
f369be148f
Reduce the mix buffer sizes by half
...
Nearly 3MB is a bit much. Could reduce it further, but this is good enough for now.
2008-07-08 19:37:14 -07:00
Chris Robinson
3a09e446b3
Leave SourceToListener untransformed for use with untransformed velocities
...
Distance is also left untransformed so cone calculations with SoundToListener
are correct
2008-07-03 03:13:43 -07:00
Chris Robinson
2d0b12e49e
Store thread return value in the struct to avoid void*-to-uint casting
2008-06-17 19:46:37 -07:00
Chris Robinson
55e2f294ac
Allow for overriding the default lib destination with LIB_INSTALL_DIR
...
So 64-bit builds can be optionally redirected to lib64
2008-06-06 18:39:18 -07:00
Chris Robinson
2a4b467f08
Make the project explicitly C
...
So it doesn't search for an unneeded C++ compiler
2008-06-06 18:33:13 -07:00
Chris Robinson
2ae9da696a
Release 1.4.272
2008-06-04 20:47:20 -07:00
Chris Robinson
376997c3ef
Fix config value check
2008-06-04 20:44:51 -07:00
Chris Robinson
e963782b8c
Release 1.4.270
2008-06-04 19:46:31 -07:00
Chris Robinson
86c01aa62c
Install openal-info if it is built
2008-06-04 19:40:52 -07:00
Chris Robinson
15783d25e7
Don't override the format config option in DSound
2008-06-04 18:33:02 -07:00
Chris Robinson
3243f69f21
Use %AppData%\alsoft.ini for the config file in Windows
2008-06-04 18:09:21 -07:00
Chris Robinson
10a87f510c
Protect RingBufferSize calculation with the mutex
2008-06-04 17:01:44 -07:00
Chris Robinson
ca6feeda29
Make sure the lib is initialized when shutting down
...
Pretty ugly, but the destructor sequence relies in the mutex being initialized
2008-05-18 20:17:31 -07:00
Chris Robinson
cecf778de3
Add addiitonal copyright line
2008-05-18 18:44:17 -07:00
Chris Robinson
fe79ab351a
Add a simple example that prints out some OpenAL info
2008-05-18 18:40:53 -07:00
Chris Robinson
dc0a3a6653
Remove -fno-strict-aliasing as the code should be safe, now
2008-05-18 17:46:45 -07:00
Chris Robinson
fed346c285
Fix source calculations for AL_SOURCE_RELATIVE mode
...
Make sure the source position and direction are properly put into listener-
space before working with them, and don't calculate the listener velocity for
relative coordinates
2008-05-18 16:52:38 -07:00
Chris Robinson
cad9b367a5
Use pthread_mutexattr_setkind_np as a fallback to set a recursive mutex type
...
Some systems (FreeBSD) don't like setting it through pthread_mutexattr_settype
2008-05-15 21:35:51 -07:00
Chris Robinson
6e86146a25
Prepare the ALSA PCM handle before starting capture
...
Thanks to Jason Daly for pointing it out
2008-05-06 16:05:36 -07:00
Chris Robinson
49d9695ad9
Check the right struct member for the filter type
2008-04-12 07:25:18 -07:00
Chris Robinson
e15bc6b9ba
Fill the correct capture device list
2008-04-05 20:33:19 -07:00
Chris Robinson
28093a6dcb
constify the pointer that holds the filename
2008-03-22 19:05:00 -07:00
Chris Robinson
2af5498804
Define _WIN32_WINNT to 0x0500 when including windows.h
...
VC7 appears to require that value, or higher, set and fails otherwise
2008-03-01 01:39:42 -08:00
Chris Robinson
2b42d7fdb8
Don't start the DSound playback thread is startup failed
2008-03-01 00:57:37 -08:00
Chris Robinson
9b3c4faa34
Release 1.3.253
2008-02-21 01:28:18 -08:00
Chris Robinson
847b3e8b61
Preserve data and position when reallocating the reverb effect
...
Still not perfect, but better for when the size doesn't change
2008-02-18 21:58:58 -08:00
Chris Robinson
b1bdd7c89f
Add the first card after making sure there's a useable device on it
2008-02-15 21:48:00 -08:00
Chris Robinson
ffe7a11866
Avoid a static variable for enumerating
2008-02-15 21:09:19 -08:00
Chris Robinson
8c3188bc7d
Remove FrameSize struct member
2008-02-14 22:05:56 -08:00
Chris Robinson
880196e5a8
Remove unneeded headers
2008-02-13 19:42:47 -08:00
Chris Robinson
d523b440e3
Wait for a PCM handle to be ready for more data instead of polling every 1ms or so
2008-02-13 19:34:47 -08:00
Chris Robinson
f2875d5d13
Read in chunks of the fragment size, not expected buffer size
2008-02-12 21:19:09 -08:00
Chris Robinson
b0720333cc
UpdateSize is not used for capture devices
2008-02-12 19:50:49 -08:00
Chris Robinson
c3446a10fa
Rename UpdateFreq device field to UpdateSize
2008-02-12 19:38:27 -08:00
Chris Robinson
fbc869eed7
Pretend DSound buffer fragment size is 1/4th the total buffer size
2008-02-12 19:24:08 -08:00
Chris Robinson
e3e4dbbccf
Make the backend list static
2008-02-11 17:24:04 -08:00
Chris Robinson
7fda645b16
Call InitAL at the start of some more ALC functions
2008-02-11 17:23:31 -08:00
Chris Robinson
ec7f20644d
Fast float-to-int function is no longer needed
2008-02-08 21:03:48 -08:00
Chris Robinson
3d5fa91703
Remove unnecessary casting
2008-02-08 21:01:05 -08:00
Chris Robinson
e8acfb069c
Remove explicit dependancy on ole32 and unused dxguid
2008-02-08 20:56:45 -08:00
Chris Robinson
4c38ed272d
Enumerate DirectSound devices
2008-02-08 20:46:34 -08:00