Chris Robinson
|
4cd9367520
|
Use logging macros in the dsound backend
|
2011-07-10 21:57:32 -07:00 |
|
Chris Robinson
|
c429a5be25
|
The DirectSound DLL is always loaded by the Win32 API
|
2011-06-16 06:17:57 -07:00 |
|
Chris Robinson
|
53c5275aa4
|
Use a proper enum for the probe type
|
2011-06-14 04:02:58 -07:00 |
|
Chris Robinson
|
6bfab6427a
|
Avoid calling some function pointers directly
|
2011-06-12 03:55:02 -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
|
4d7aab1df4
|
Make some declarations static or static const
|
2011-05-21 21:28:27 -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
|
e95b718cf4
|
Improve handling of device channels with DSound
|
2011-05-15 05:24:27 -07:00 |
|
Chris Robinson
|
64b5d7a519
|
Check the correct flag in the dsound backend
|
2011-05-06 01:53:13 -07:00 |
|
Chris Robinson
|
679f2480c9
|
Add a device flag for channel config requests
|
2011-05-03 17:11:07 -07:00 |
|
Chris Robinson
|
208912ceac
|
Fix DSound floating-point sample assumptions
|
2011-03-12 22:52:33 -08:00 |
|
Chris Robinson
|
41a2c25b5a
|
Include cguid.h for GUID_NULL
|
2011-02-07 22:46:54 -08:00 |
|
Chris Robinson
|
c4adf541c1
|
Set the playing flag to TRUE when the dsound buffer starts playing
|
2010-12-04 20:22:12 -08:00 |
|
Chris Robinson
|
88e3a22772
|
Separate device format into 'channel config' and 'sample type' components
|
2010-12-04 19:50:00 -08:00 |
|
Chris Robinson
|
fbd6439bd2
|
Make the first enumerated DirectSound device use the default, and fix the name
|
2010-11-25 14:35:32 -08:00 |
|
Chris Robinson
|
a7b4e0b5c5
|
Get rid of the device timer stuff
|
2010-11-21 06:32:59 -08:00 |
|
Chris Robinson
|
fe6e73ede9
|
Be a bit more verbose when a device fails to open
|
2010-08-01 16:20:28 -07:00 |
|
Chris Robinson
|
46d46c49a8
|
Store the time precision with the device
|
2010-07-25 12:54:50 -07:00 |
|
Chris Robinson
|
40dd1fb853
|
Add a backend callback to get the device time
The method should monotonically count the number of nanoseconds the device has
active contexts
|
2010-07-24 19:14:32 -07:00 |
|
Chris Robinson
|
a1f987c016
|
Improve handling of lost DirectSound buffers
|
2010-06-09 23:32:35 -07:00 |
|
Chris Robinson
|
cff805e0a3
|
Prevent multiple DirectSound devices from getting the same name, too
|
2010-06-09 23:11:34 -07:00 |
|
Chris Robinson
|
e98f1205e5
|
Increase the temp buffer sizes to construct device names with
|
2010-05-31 19:04:41 -07:00 |
|
Chris Robinson
|
da1dee351d
|
Update device naming to be more apparent about the device being used
|
2010-05-31 19:00:33 -07:00 |
|
Chris Robinson
|
ebccfa93c3
|
Don't unload libs when they're not needed
Some libs don't really like being unloaded and reloaded all the time, and the
benefits aren't that great
|
2010-05-28 23:00:59 -07:00 |
|
Chris Robinson
|
37190b2caf
|
Add a function to get the frame size from a format
|
2010-05-24 21:51:30 -07:00 |
|
Chris Robinson
|
3676fdc4db
|
Add mono and stereo channel masks for DSound output
|
2010-05-21 14:12:09 -07:00 |
|
Chris Robinson
|
a53e3dda75
|
Don't needlessly expose a variable for the backends
|
2010-05-12 07:27:12 -07:00 |
|
Chris Robinson
|
8feb089f5c
|
Build device lists only when needed
|
2010-03-09 06:09:29 -08:00 |
|
Chris Robinson
|
2ba3a88ace
|
Probe physical devices separately from appending them to the device list
|
2010-03-09 05:44:18 -08:00 |
|
Chris Robinson
|
7ee81eac0f
|
Store ALC errors with the device when possible
|
2009-12-28 23:19:13 -08:00 |
|
Chris Robinson
|
69ab93a824
|
Add a function to check if a config option is set to a non-empty value
|
2009-12-28 13:08:15 -08:00 |
|
Chris Robinson
|
c6340ce12d
|
Clean up some loading checks
|
2009-12-26 08:49:11 -08:00 |
|
Chris Robinson
|
b5270e0bb3
|
Use a channel-map to specify the output device channel order
|
2009-12-02 04:03:51 -08:00 |
|
Chris Robinson
|
6cfc31777b
|
Add an option for real-time priority mixing
Default to disable for now, as a safety precaution
|
2009-12-01 23:15:09 -08:00 |
|
Chris Robinson
|
786b98a013
|
Avoid setting a field redundantly
|
2009-11-29 23:07:04 -08:00 |
|
Chris Robinson
|
f63d8dbf38
|
Enable real-time priority for ALSA, OSS, and DirectSound mixing loops
|
2009-11-29 23:02:21 -08:00 |
|
Chris Robinson
|
fdd314f7f8
|
Reset the kill flag after the thread has stopped
|
2009-11-29 10:22:12 -08:00 |
|
Chris Robinson
|
d6e439244a
|
Rename SetALCError for consistency
|
2009-10-07 04:32:14 -07:00 |
|
Chris Robinson
|
8024df2991
|
Load backend libs on-demand
|
2009-09-27 00:21:40 -07:00 |
|
Chris Robinson
|
201b108a54
|
Attempt to reload backend libs when probing, if they didn't initially load
|
2009-09-23 01:33:58 -07:00 |
|
Chris Robinson
|
e2905b6bc9
|
Properly handle forced 32-bit float output with DSound
|
2009-09-21 02:57:17 -07:00 |
|
Chris Robinson
|
e11b59a80f
|
Return imediately if trying to set an unknown format
|
2009-09-21 02:53:33 -07:00 |
|
Chris Robinson
|
fb97ca6022
|
Remove left-over backend-specific period options
|
2009-09-16 23:29:32 -07:00 |
|
Chris Robinson
|
cbcaa54173
|
Store the number of periods in the device instead of the buffer size
Also keep all the fields in sync
|
2009-09-16 22:58:54 -07:00 |
|
Chris Robinson
|
94e3fca702
|
Remove unnecessary parameters, and rename methods
|
2009-09-16 00:24:44 -07:00 |
|
Chris Robinson
|
9f037e8980
|
Pass the device to aluMixData
|
2009-09-15 19:30:27 -07:00 |
|
Chris Robinson
|
6636131d3b
|
Pass the frame count to aluMixData
|
2009-09-15 18:19:00 -07:00 |
|
Chris Robinson
|
b444dea63b
|
Fix compilation for Windows
|
2009-08-28 06:33:59 -07:00 |
|
Chris Robinson
|
c27948a7ee
|
Don't free a NULL handle
|
2009-08-27 19:01:12 -07:00 |
|
Chris Robinson
|
832dc8a585
|
Remove unnecessary vars and rework device name checks
|
2009-08-27 18:55:18 -07:00 |
|