Skip to content

Commit d995fba

Browse files
committed
Make AudioOutputSettings and VideoOutputSettings properties public
1 parent 6bda654 commit d995fba

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Sources/SJSAssetExportSession/AudioOutputSettings.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ public struct AudioOutputSettings: Hashable, Sendable, Codable {
2626
}
2727
}
2828

29-
let format: AudioFormatID
30-
let channels: Int
31-
let sampleRate: Int?
29+
public let format: AudioFormatID
30+
public let channels: Int
31+
public let sampleRate: Int?
3232

3333
/// Specifies the AAC format with 2 channels at a 44.1 KHz sample rate.
3434
public static var `default`: AudioOutputSettings {

Sources/SJSAssetExportSession/VideoOutputSettings.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,11 @@ public struct VideoOutputSettings: Hashable, Sendable, Codable {
8888
}
8989
}
9090

91-
let codec: Codec
92-
let size: CGSize
93-
let fps: Int?
94-
let bitrate: Int?
95-
let color: Color?
91+
public let codec: Codec
92+
public let size: CGSize
93+
public let fps: Int?
94+
public let bitrate: Int?
95+
public let color: Color?
9696

9797
public static func codec(_ codec: Codec, size: CGSize) -> VideoOutputSettings {
9898
.init(codec: codec, size: size, fps: nil, bitrate: nil, color: nil)

0 commit comments

Comments
 (0)