File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Sources/LiveKit/Extensions Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,12 @@ public extension AVAudioPCMBuffer {
48
48
return nil
49
49
}
50
50
51
- // #if swift(>=6.0)
52
- // // Won't be accessed concurrently, marking as nonisolated(unsafe) to avoid Atomics.
53
- // nonisolated(unsafe) var isDone = false
54
- // #else
51
+ #if swift(>=6.0)
52
+ // Won't be accessed concurrently, marking as nonisolated(unsafe) to avoid Atomics.
53
+ nonisolated ( unsafe) var isDone = false
54
+ #else
55
55
var isDone = false
56
- // #endif
56
+ #endif
57
57
let inputBlock : AVAudioConverterInputBlock = { _, outStatus in
58
58
if isDone {
59
59
outStatus. pointee = . noDataNow
Original file line number Diff line number Diff line change @@ -41,13 +41,13 @@ extension LKRTCSessionDescription: @unchecked Swift.Sendable {}
41
41
extension LKRTCStatisticsReport : @unchecked Swift . Sendable { }
42
42
extension LKRTCVideoCodecInfo : @unchecked Swift . Sendable { }
43
43
extension LKRTCVideoFrame : @unchecked Swift . Sendable { }
44
- // extension LKRTCRtpCapabilities: @unchecked Swift.Sendable {}
44
+ extension LKRTCRtpCapabilities : @unchecked Swift . Sendable { }
45
45
46
46
// MARK: Mutable classes - to be validated
47
47
48
48
extension LKRTCConfiguration : @unchecked Swift . Sendable { }
49
49
extension LKRTCVideoCapturer : @unchecked Swift . Sendable { }
50
- // extension LKRTCDefaultAudioProcessingModule: @unchecked Swift.Sendable {}
50
+ extension LKRTCDefaultAudioProcessingModule : @unchecked Swift . Sendable { }
51
51
52
52
// MARK: Collections
53
53
You can’t perform that action at this time.
0 commit comments