diff options
author | Chris Robinson <[email protected]> | 2009-08-26 19:15:17 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-08-26 19:15:17 -0700 |
commit | 7976de05a54fb84c575723d77465308e49c9a258 (patch) | |
tree | 5ea263be25c5bcafbc06a29e5c04ebf4e5a7a56d /OpenAL32/Include | |
parent | 70c88879abaa7f4946dc009770bf23fab3f2ee48 (diff) |
Add base support for ALC_EXT_disconnect
Individual backends need to be updated to handle disconnection events
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r-- | OpenAL32/Include/alMain.h | 1 | ||||
-rw-r--r-- | OpenAL32/Include/alu.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 782252ba..ca9d8006 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -171,6 +171,7 @@ void alc_pulse_init(BackendFuncs *func_list); struct ALCdevice_struct { + ALCboolean Connected; ALboolean IsCaptureDevice; ALuint Frequency; diff --git a/OpenAL32/Include/alu.h b/OpenAL32/Include/alu.h index f2a7b023..4641a698 100644 --- a/OpenAL32/Include/alu.h +++ b/OpenAL32/Include/alu.h @@ -147,6 +147,7 @@ static __inline ALuint aluChannelsFromFormat(ALenum format) ALvoid aluInitPanning(ALCcontext *Context); ALvoid aluMixData(ALCcontext *context,ALvoid *buffer,ALsizei size,ALenum format); +ALvoid aluHandleDisconnect(ALCdevice *device); #ifdef __cplusplus } |