Skip to content

Commit 6b6d068

Browse files
maciejmakowski2003maciejmakowski2003
andcommitted
fix: fixed wrong tuple order in CloseFileResult of IOSFileWriter.mm (#976)
Co-authored-by: maciejmakowski2003 <maciej.makowski2608@gmail.com>
1 parent 2c4465c commit 6b6d068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native-audio-api/ios/audioapi/ios/core/utils/IOSFileWriter.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@
135135
fileURL_ = nil;
136136
framesWritten_.store(0, std::memory_order_release);
137137

138-
return CloseFileResult::Ok(std::make_tuple(fileDuration, fileSizeBytesMb));
138+
return CloseFileResult::Ok(std::make_tuple(fileSizeBytesMb, fileDuration));
139139
}
140140
}
141141

0 commit comments

Comments
 (0)