aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-01-15 16:44:12 -0800
committerChris Robinson <[email protected]>2014-01-15 16:44:12 -0800
commit50b74629ddcbc7c8adf38ff5a02c3ee5162789a1 (patch)
tree7f5a2dff9b0e8f6d8ac17591e3cffde3cda23583 /OpenAL32
parent8d7559d9d00c66213471538632b389ad289b31a0 (diff)
Add a flag to specify the device being paused
Used to prevent UpdateDeviceParams from restarting the device, if a new context is created while paused.
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 987254fc..3394eab2 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -657,6 +657,9 @@ struct ALCdevice_struct
// Stereo sources cover 120-degree angles around +/-90
#define DEVICE_WIDE_STEREO (1<<16)
+// Specifies if the DSP is paused at user request
+#define DEVICE_PAUSED (1<<30)
+
// Specifies if the device is currently running
#define DEVICE_RUNNING (1<<31)