File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
record_darwin/darwin/Classes Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -77,21 +77,21 @@ struct IosConfig {
77
77
let options : [ AVAudioSession . CategoryOptions ] ? = comps? . split ( separator: " , " ) . compactMap {
78
78
switch $0 {
79
79
case " mixWithOthers " :
80
- . mixWithOthers
80
+ AVAudioSession . CategoryOptions . mixWithOthers
81
81
case " duckOthers " :
82
- . duckOthers
82
+ AVAudioSession . CategoryOptions . duckOthers
83
83
case " allowBluetooth " :
84
- . allowBluetooth
84
+ AVAudioSession . CategoryOptions . allowBluetooth
85
85
case " defaultToSpeaker " :
86
- . defaultToSpeaker
86
+ AVAudioSession . CategoryOptions . defaultToSpeaker
87
87
case " interruptSpokenAudioAndMixWithOthers " :
88
- . interruptSpokenAudioAndMixWithOthers
88
+ AVAudioSession . CategoryOptions . interruptSpokenAudioAndMixWithOthers
89
89
case " allowBluetoothA2DP " :
90
- . allowBluetoothA2DP
90
+ AVAudioSession . CategoryOptions . allowBluetoothA2DP
91
91
case " allowAirPlay " :
92
- . allowAirPlay
92
+ AVAudioSession . CategoryOptions . allowAirPlay
93
93
case " overrideMutedMicrophoneInterruption " :
94
- if #available( iOS 14 . 5 , * ) { . overrideMutedMicrophoneInterruption } else { nil }
94
+ if #available( iOS 14 . 5 , * ) { AVAudioSession . CategoryOptions . overrideMutedMicrophoneInterruption } else { nil }
95
95
default : nil
96
96
}
97
97
}
@@ -103,4 +103,4 @@ struct IosConfig {
103
103
struct IosConfig {
104
104
init ( map: [ String : Any ] ) { }
105
105
}
106
- #endif
106
+ #endif
You can’t perform that action at this time.
0 commit comments