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