Skip to content

Commit

Permalink
swiftlint --fix --format
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo4405 committed Feb 17, 2024
1 parent 44770d6 commit 77666a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/IO/IOAudioResampler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct IOAudioResamplerSettings {
interleaved: inputFormat.isInterleaved
)
}

private func validatedChannelMap(_ converter: AVAudioConverter) -> [NSNumber]? {
guard let channelMap, channelMap.count == converter.outputFormat.channelCount else {
return nil
Expand Down
2 changes: 1 addition & 1 deletion Sources/IO/IOVideoMixerSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public struct IOVideoMixerSettings: Codable {
/// Specifies the main channel number.
public var channel: UInt8 = 0
/// Specifies if effects are always rendered to a new buffer.
public var alwaysUseBufferPoolForVideoEffects: Bool = false
public var alwaysUseBufferPoolForVideoEffects = false

/// Create a new IOVideoMixerSettings.
public init(mode: Mode, cornerRadius: CGFloat, regionOfInterest: CGRect, direction: ImageTransform) {
Expand Down

0 comments on commit 77666a8

Please sign in to comment.