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 |
|