Chris Robinson
|
6bb14e45ce
|
Store a copy of the device name in the device
|
2009-08-27 02:53:09 -07:00 |
|
Chris Robinson
|
45dc804819
|
Store copies of the device names in the individual backends
|
2009-08-27 01:47:41 -07:00 |
|
Chris Robinson
|
81db01ebf1
|
Add a method to deinitialize backends
|
2009-08-26 23:45:00 -07:00 |
|
Chris Robinson
|
dc26261065
|
Support 32-bit float output
|
2009-08-15 13:20:35 -07:00 |
|
Chris Robinson
|
4031ee5ef0
|
Fix speaker override check
|
2009-08-14 07:27:19 -07:00 |
|
Chris Robinson
|
e079291202
|
Remove unnecessary function parameters
|
2009-08-13 19:36:14 -07:00 |
|
Chris Robinson
|
87fee8c504
|
Start DSound playback at context creation
|
2009-08-13 13:11:05 -07:00 |
|
Chris Robinson
|
243939f94f
|
Allow delaying playback start until context creation, and don't use UpdateSize to store the buffer size
This will make it possible to support the context attributes (frequency,
refresh, etc) for some backends
|
2009-08-13 12:28:46 -07:00 |
|
Alam Arias
|
89e9437b84
|
add check for _WAVEFORMATEXTENSIBLE_ and define _WIN32_IE before inlcuding any header
|
2009-06-07 19:43:42 -07:00 |
|
Chris Robinson
|
6d3ba44f55
|
Don't update the devicevalues before returning success
|
2009-05-27 07:02:33 -07:00 |
|
Chris Robinson
|
ad19cea6e0
|
Make sure DSSPEAKER_5POINT1 is defined
|
2009-05-14 05:24:18 -07:00 |
|
Chris Robinson
|
8ee47d5573
|
Dynamically load dsound when possible
|
2009-03-10 02:46:42 -07:00 |
|
Chris Robinson
|
591de1ecb4
|
Wait until one full fragment is empty before mixing
|
2008-11-21 07:52:13 -08:00 |
|
Chris Robinson
|
3dad17c263
|
Make the DSound emulated fragment count configurable
|
2008-11-21 07:48:03 -08: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
|
376997c3ef
|
Fix config value check
|
2008-06-04 20:44:51 -07:00 |
|
Chris Robinson
|
15783d25e7
|
Don't override the format config option in DSound
|
2008-06-04 18:33:02 -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
|
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
|
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
|
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 |
|
Chris Robinson
|
655a83c5c5
|
Use WAVEFORMATEXTENSIBLE for multichannel dsound output, and don't create a primary buffer
|
2008-02-01 08:17:57 -08:00 |
|
Chris Robinson
|
ad6237f6f7
|
Fix availibility amount calculation
|
2008-01-26 21:10:55 -08:00 |
|
Chris Robinson
|
d06c64e1c4
|
aluBytesFromFormat returns bytes, not bits
|
2008-01-26 21:09:08 -08:00 |
|
Chris Robinson
|
b4ad3186dd
|
Update frame size after detecting the directsound output format
|
2008-01-25 17:05:14 -08:00 |
|
Chris Robinson
|
5f1c0450b3
|
Remove unnecessary Channels field
|
2008-01-25 16:38:37 -08:00 |
|
Chris Robinson
|
04b62f77e3
|
Set the output format according to the speaker setup reported by directsound
|
2008-01-25 05:02:00 -08:00 |
|
Chris Robinson
|
029dff3f40
|
Use both write pointers from the directsound buffer lock
|
2008-01-25 04:42:44 -08:00 |
|
Chris Robinson
|
86b7b3d54b
|
Remove duplication of setting the max source count
|
2008-01-19 19:28:34 -08:00 |
|
Chris Robinson
|
6735fc7911
|
Add missing config.h includes
|
2008-01-16 14:09:04 -08:00 |
|
Chris Robinson
|
1e3ad2f9ce
|
Use a more reliable thread loop for DSound, instead of a Win32 timer
Also use a simpler method for calculating the read/write location
|
2008-01-08 07:09:25 -08:00 |
|
Chris Robinson
|
8553fb9e30
|
ALC_REFRESH is the number of updates per second
|
2008-01-06 01:14:09 -08:00 |
|
Chris Robinson
|
8011ad97b5
|
Don't check explicitly against formats, but rather their byte/channel count
|
2007-12-26 23:29:32 -08:00 |
|
Chris Robinson
|
5f4659534a
|
Store a persistant name string with the device struct
|
2007-12-14 08:51:45 -08:00 |
|
Chris Robinson
|
e9eaacd0bd
|
Remove static variable from DSound callback
|
2007-12-05 00:37:38 -08:00 |
|
Chris Robinson
|
15019b3871
|
Allow aluMixData to accept a NULL context for silence
|
2007-12-05 00:29:20 -08:00 |
|
Chris Robinson
|
ae5f4e9a74
|
Initial import
|
2007-11-13 18:02:18 -08:00 |
|