diff options
Diffstat (limited to 'sound/mixer.h')
-rw-r--r-- | sound/mixer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/mixer.h b/sound/mixer.h index 03e8b46385..12b51b705c 100644 --- a/sound/mixer.h +++ b/sound/mixer.h @@ -55,7 +55,9 @@ public: FLAG_16BITS = 1 << 2, // sound is 16 bits wide (default: 8bit) FLAG_AUTOFREE = 1 << 3, // sound buffer is freed automagically at the end of playing FLAG_REVERSE_STEREO = 1 << 4, // reverse the left and right stereo channel - FLAG_LOOP = 1 << 5 // loop the audio + FLAG_LOOP = 1 << 5, // loop the audio + FLAG_AUTODELETE = 1 << 6 // same as AUTOFREE, but uses delete instead of free() + }; private: |