diff options
author | Chris Robinson <[email protected]> | 2014-01-15 16:44:12 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-01-15 16:44:12 -0800 |
commit | 50b74629ddcbc7c8adf38ff5a02c3ee5162789a1 (patch) | |
tree | 7f5a2dff9b0e8f6d8ac17591e3cffde3cda23583 /OpenAL32 | |
parent | 8d7559d9d00c66213471538632b389ad289b31a0 (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.h | 3 |
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) |