diff options
Diffstat (limited to 'macosx/HBAudioTrackPreset.m')
-rw-r--r-- | macosx/HBAudioTrackPreset.m | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/macosx/HBAudioTrackPreset.m b/macosx/HBAudioTrackPreset.m index f7f7f94bf..2e479f4fc 100644 --- a/macosx/HBAudioTrackPreset.m +++ b/macosx/HBAudioTrackPreset.m @@ -5,7 +5,7 @@ It may be used under the terms of the GNU General Public License. */ #import "HBAudioTrackPreset.h" -#import "NSCodingMacro.h" +#import "HBCodingUtilities.h" #include "hb.h" #define DEFAULT_SAMPLERATE 48000 @@ -262,6 +262,11 @@ static void *HBAudioEncoderContex = &HBAudioEncoderContex; #pragma mark - NSCoding ++ (BOOL)supportsSecureCoding +{ + return YES; +} + - (void)encodeWithCoder:(NSCoder *)coder { [coder encodeInt:1 forKey:@"HBAudioTrackPresetVersion"]; |