diff options
author | Chris Robinson <[email protected]> | 2020-02-17 04:50:00 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-02-17 04:50:00 -0800 |
commit | c8dfd248185359d86410340741122943524ed10b (patch) | |
tree | 18a0910189f4f6cc44fbc48d31816cad6dfd9cb7 /alc/voice.h | |
parent | a221f8671e8e1424d623222d64f0555c51342525 (diff) |
Add a callback flag for voices
Diffstat (limited to 'alc/voice.h')
-rw-r--r-- | alc/voice.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/alc/voice.h b/alc/voice.h index 07abe0eb..a5b6fac5 100644 --- a/alc/voice.h +++ b/alc/voice.h @@ -181,10 +181,13 @@ struct ALvoiceProps : public ALvoicePropsBase { }; #define VOICE_IS_STATIC (1u<<0) -#define VOICE_IS_FADING (1u<<1) /* Fading sources use gain stepping for smooth transitions. */ +#define VOICE_IS_CALLBACK (1u<<1) #define VOICE_IS_AMBISONIC (1u<<2) /* Voice needs HF scaling for ambisonic upsampling. */ -#define VOICE_HAS_HRTF (1u<<3) -#define VOICE_HAS_NFC (1u<<4) +#define VOICE_IS_FADING (1u<<3) /* Fading sources use gain stepping for smooth transitions. */ +#define VOICE_HAS_HRTF (1u<<4) +#define VOICE_HAS_NFC (1u<<5) + +#define VOICE_TYPE_MASK (VOICE_IS_STATIC | VOICE_IS_CALLBACK) struct ALvoice { enum State { |