diff options
author | Chris Robinson <[email protected]> | 2020-02-17 00:22:51 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-02-17 00:22:51 -0800 |
commit | ccc6da0a5bb691987b95ec7f7b6c8a7cda13b7da (patch) | |
tree | 6b05a016e93d3aafef188cfe4298c94ea824d44b /al/buffer.h | |
parent | 3156b17057569fb8d3074603d8d8b4ba0dd73c57 (diff) |
Set and retrieve a buffer's callback
Diffstat (limited to 'al/buffer.h')
-rw-r--r-- | al/buffer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/al/buffer.h b/al/buffer.h index 07012b2d..d1c3c747 100644 --- a/al/buffer.h +++ b/al/buffer.h @@ -80,6 +80,9 @@ struct ALbuffer { ALenum AmbiLayout{AL_FUMA_SOFT}; ALenum AmbiScaling{AL_FUMA_SOFT}; + LPALBUFFERCALLBACKTYPESOFT Callback{nullptr}; + void *UserData{nullptr}; + ALuint LoopStart{0u}; ALuint LoopEnd{0u}; |