Skip to content

Commit

Permalink
Fix Xcode 14.2
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshihorie committed Jan 14, 2025
1 parent 49c91ef commit 4b84621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/LiveKit/Track/AudioManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public class AudioManager: Loggable {
#if os(iOS) || os(visionOS) || os(tvOS)
self.log("Configuring audio session...")
// Backward compatibility
let configureFunc = state.customConfigureFunc ?? self.defaultConfigureAudioSessionFunc
let configureFunc = self.state.customConfigureFunc ?? self.defaultConfigureAudioSessionFunc
let simulatedState = AudioManager.State(localTracksCount: isRecordingEnabled ? 1 : 0, remoteTracksCount: isPlayoutEnabled ? 1 : 0)
configureFunc(simulatedState, AudioManager.State())
#endif
Expand Down

0 comments on commit 4b84621

Please sign in to comment.