From 77666a8e0046e202e0e063c98dc77d553a8d40ca Mon Sep 17 00:00:00 2001 From: shogo4405 Date: Sat, 17 Feb 2024 13:10:57 +0900 Subject: [PATCH] swiftlint --fix --format --- Sources/IO/IOAudioResampler.swift | 2 +- Sources/IO/IOVideoMixerSettings.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/IO/IOAudioResampler.swift b/Sources/IO/IOAudioResampler.swift index 8727b8085..1477a16f1 100644 --- a/Sources/IO/IOAudioResampler.swift +++ b/Sources/IO/IOAudioResampler.swift @@ -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 diff --git a/Sources/IO/IOVideoMixerSettings.swift b/Sources/IO/IOVideoMixerSettings.swift index ebcd3691b..41640cf3c 100644 --- a/Sources/IO/IOVideoMixerSettings.swift +++ b/Sources/IO/IOVideoMixerSettings.swift @@ -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) {