diff options
author | Chris Robinson <[email protected]> | 2012-02-23 15:25:30 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-02-23 15:25:30 -0800 |
commit | 504cdadd60a760fd144df0d64ed9eaab2118a61d (patch) | |
tree | 1380f2c0a743c5b20682426f40b6d1d79f01a17a /OpenAL32 | |
parent | 45c10229d91ae260ae7f555be8098be7ebfb61ba (diff) |
Use an enum for the device type
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/Include/alMain.h | 11 |
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; |