Skip to content

Commit eb28e1f

Browse files
committed
feat: allowedAudioSpatializationFormats = .monoStereoAndMultichannel
1 parent 4cacbc6 commit eb28e1f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Sources/KSPlayer/MEPlayer/AudioRendererPlayer.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ public class AudioRendererPlayer: AudioOutput {
4949
if #available(macOS 11.3, iOS 14.5, tvOS 14.5, *) {
5050
synchronizer.delaysRateChangeUntilHasSufficientMediaData = false
5151
}
52-
// if #available(tvOS 15.0, iOS 15.0, macOS 12.0, *) {
53-
// renderer.allowedAudioSpatializationFormats = .monoStereoAndMultichannel
54-
// }
52+
if #available(tvOS 15.0, iOS 15.0, macOS 12.0, *) {
53+
renderer.allowedAudioSpatializationFormats = .monoStereoAndMultichannel
54+
}
5555
}
5656

5757
public func prepare(audioFormat: AVAudioFormat) {

0 commit comments

Comments
 (0)