summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioTrackPreset.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBAudioTrackPreset.m')
-rw-r--r--macosx/HBAudioTrackPreset.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBAudioTrackPreset.m b/macosx/HBAudioTrackPreset.m
index 2e479f4fc..f3f40d813 100644
--- a/macosx/HBAudioTrackPreset.m
+++ b/macosx/HBAudioTrackPreset.m
@@ -276,7 +276,7 @@ static void *HBAudioEncoderContex = &HBAudioEncoderContex;
encodeInt(_sampleRate);
encodeInt(_bitRate);
- encodeInt(_gain);
+ encodeDouble(_gain);
encodeDouble(_drc);
encodeInt(_container);
@@ -291,7 +291,7 @@ static void *HBAudioEncoderContex = &HBAudioEncoderContex;
decodeInt(_sampleRate);
decodeInt(_bitRate);
- decodeInt(_gain);
+ decodeDouble(_gain);
decodeDouble(_drc);
decodeInt(_container);