summaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/alMain.h
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r--OpenAL32/Include/alMain.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index ddb93c84..51740797 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -548,13 +548,18 @@ extern const struct EffectList {
} EffectList[];
+enum DeviceType {
+ Playback,
+ Capture,
+ Loopback
+};
+
struct ALCdevice_struct
{
volatile RefCount ref;
- ALCboolean Connected;
- ALboolean IsCaptureDevice;
- ALboolean IsLoopbackDevice;
+ ALCboolean Connected;
+ enum DeviceType Type;
CRITICAL_SECTION Mutex;