Skip to content

Commit

Permalink
Remove unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo4405 committed Sep 17, 2023
1 parent 3d7b1c3 commit 552430f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions HaishinKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2473,7 +2473,7 @@
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 11.0;
TVOS_DEPLOYMENT_TARGET = 12.0;
};
name = Debug;
};
Expand Down Expand Up @@ -2502,7 +2502,7 @@
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 11.0;
TVOS_DEPLOYMENT_TARGET = 12.0;
};
name = Release;
};
Expand Down
4 changes: 1 addition & 3 deletions Sources/Media/IOMixer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ public class IOMixer {
}()

#if os(iOS) || os(macOS)
var isMultitaskingCameraAccessEnabled = true

var isMultiCamSessionEnabled = false {
didSet {
guard oldValue != isMultiCamSessionEnabled else {
Expand Down Expand Up @@ -232,7 +230,7 @@ public class IOMixer {
if session.canSetSessionPreset(sessionPreset) {
session.sessionPreset = sessionPreset
}
if isMultitaskingCameraAccessEnabled && session.isMultitaskingCameraAccessSupported {
if session.isMultitaskingCameraAccessSupported {
session.isMultitaskingCameraAccessEnabled = true
}
return session
Expand Down

0 comments on commit 552430f

Please sign in to comment.