diff options
author | Joost Peters | 2003-10-24 23:09:01 +0000 |
---|---|---|
committer | Joost Peters | 2003-10-24 23:09:01 +0000 |
commit | 3ad14b06f507d056da5c8e1506d95e607029f75e (patch) | |
tree | 3c96bd8a3e8555b522a85df4d327f3837ebaa410 /sound/mixer.h | |
parent | 87e1963cffd79cbd5aed472f58a91a9ae973c13d (diff) | |
download | scummvm-rg350-3ad14b06f507d056da5c8e1506d95e607029f75e.tar.gz scummvm-rg350-3ad14b06f507d056da5c8e1506d95e607029f75e.tar.bz2 scummvm-rg350-3ad14b06f507d056da5c8e1506d95e607029f75e.zip |
added extra flag to mixer so we don't use free() on new'd pointers
svn-id: r10958
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: |