Chris Robinson
cd0e80126c
Require a lock for IsDevice calls
2011-05-28 22:21:11 -07:00
Chris Robinson
1778c0d7d8
Get the device format directly from the string
2011-05-28 21:37:33 -07:00
Chris Robinson
b07901f1a0
Set the subformat type when an unknown one is encountered
2011-05-28 21:21:37 -07:00
Chris Robinson
a15a1abb21
Trace the format that is set when reporting HRTF disabled
2011-05-28 20:40:46 -07:00
Chris Robinson
7da2eea8f0
Add a 5.1 device format that uses side channels instead of back
2011-05-28 19:35:32 -07:00
Chris Robinson
596a1af7d9
Switch to the diffuse HRTF data set
2011-05-26 15:43:26 -07:00
Chris Robinson
6b6a7757ce
Clear HRTF coefficients for the LFE channel
2011-05-25 19:04:19 -07:00
Chris Robinson
8a6266239c
Rename Quad to Quadraphonic
2011-05-24 14:34:53 -07:00
Chris Robinson
d83af679bd
Fix handling of GUID definitions
2011-05-22 13:29:32 -07:00
Chris Robinson
af005668da
Avoid using an unnecessary temp variable
2011-05-21 23:14:55 -07:00
Chris Robinson
d07e94056d
Use libuuid when it has MMDevApi's UIDs
2011-05-21 21:57:44 -07:00
Chris Robinson
4d7aab1df4
Make some declarations static or static const
2011-05-21 21:28:27 -07:00
Chris Robinson
c3cbfecbae
Remove duplicate macros
2011-05-21 21:16:30 -07:00
Chris Robinson
a9d9553fff
Use a multi-dimensional array for the panning LUT
2011-05-21 17:45:54 -07:00
Chris Robinson
5cdf774ea7
Use the stored sample and channel count
2011-05-21 17:36:54 -07:00
Chris Robinson
b75d4beb1a
Dedicated dialog should go in front
2011-05-20 09:50:31 -07:00
Chris Robinson
35a0430c81
Store the separate effect parameters in a union
2011-05-20 09:36:36 -07:00
Chris Robinson
cbbb04eb40
Always fully normalize the position when using HRTF
2011-05-20 07:58:05 -07:00
Chris Robinson
7396aaf2c2
Fix HRTF elevation calculation
2011-05-19 17:57:14 -07:00
Chris Robinson
555ccce4ee
Update the device update fields after initializing the MMDevApi device
2011-05-19 15:55:27 -07:00
Chris Robinson
b838d123f8
Multiply the history offset in the filtering funcitons
2011-05-18 18:52:47 -07:00
Chris Robinson
1d3926e187
Remove some more duplication
2011-05-18 18:49:41 -07:00
Chris Robinson
c316766144
Use lerp() in a couple more places
2011-05-18 18:09:04 -07:00
Chris Robinson
c00b2f9254
Avoid looking in the buffer queue to find the frame size
2011-05-18 17:02:18 -07:00
Chris Robinson
06f5f0b7c8
Make mixers channel-count agnostic
...
As a result, this combines/removes a bunch of mixers
2011-05-17 13:25:15 -07:00
Chris Robinson
9f91ff4734
Move the channel loop to the outside of the sample mixing loop
2011-05-17 12:49:26 -07:00
Chris Robinson
f7936b4709
Avoid multiple getenv calls to the same var
2011-05-17 10:15:53 -07:00
Chris Robinson
2abeed069b
Improve handling of format support for MMDevApi
2011-05-17 04:54:09 -07:00
Chris Robinson
569106acd3
Fix COM initialization with MMDevApi
2011-05-16 10:31:38 -07:00
Chris Robinson
507d2f8afb
Properly set the channel order for WinMM playback
2011-05-16 10:28:17 -07:00
Chris Robinson
54769a823e
Implement playback using MMDevApi
2011-05-16 04:13:37 -07:00
Chris Robinson
cf3287f8ec
Fix closing of waveOut devices
2011-05-16 03:16:47 -07:00
Chris Robinson
c5fbc9f05c
Define GUIDs in ALc.c instead of the individual backend source files
2011-05-15 21:47:50 -07:00
Chris Robinson
2940b0f390
Add a skeleton backend for MMDevApi
2011-05-15 20:26:25 -07:00
Chris Robinson
e95b718cf4
Improve handling of device channels with DSound
2011-05-15 05:24:27 -07:00
Chris Robinson
143c08bfcb
Use channel config strings in log output
2011-05-15 04:49:18 -07:00
Chris Robinson
b3902c8950
Add functions to get strings from the device format
2011-05-15 04:03:15 -07:00
Chris Robinson
7210796cb8
Combine multiple loops
2011-05-15 02:12:42 -07:00
Chris Robinson
949cfe2ceb
Re-enable duplication for stereo sounds
2011-05-15 00:18:28 -07:00
Chris Robinson
c39f27d5f8
Set the duplicate-stereo flag properly after the device format is reset
2011-05-13 21:27:46 -07:00
Chris Robinson
c9ac4f06ff
Remove an unused macro and rename another
2011-05-07 04:35:49 -07:00
Chris Robinson
674b14faa3
Make a couple more pointers restricted
2011-05-07 04:32:53 -07:00
Chris Robinson
a8fdcd30a5
Some minor cleanups
2011-05-07 04:31:43 -07:00
Chris Robinson
db3cb23c1d
Add an option to reverse Z panning of mono sources
...
Applications that are not built around OpenAL's orientation system need to
convert their given vectors to it. Depending on how this is done, it can lead
to proper stereo (left-right) panning with improper surround sound (front-back)
panning, which thusly sounds correct with stereo output and incorrect with 4+
channel output.
This option is intended to help fix playback of such applications on surround
sound systems, without having to resort to forcing stereo output.
2011-05-07 03:54:46 -07:00
Chris Robinson
7972f7a2da
Combine duplicate arrays
2011-05-06 23:25:15 -07:00
Chris Robinson
8c3d50be28
Skip LFE with HRTF output
2011-05-06 04:46:21 -07:00
Chris Robinson
4198f3062c
Remove the device channel matrix
2011-05-06 04:42:54 -07:00
Chris Robinson
c2a6efc77a
Use the panning algorithms to build the multi-channel source matrix
...
This prevents the stereo-duplication option from working. It should hopefully
be restored soon.
2011-05-06 04:37:10 -07:00
Chris Robinson
6928487aa1
Remove some redundancy
2011-05-06 02:53:22 -07:00
Chris Robinson
64b5d7a519
Check the correct flag in the dsound backend
2011-05-06 01:53:13 -07:00