Getting Control Center to show Spatial Audio toggle when using SFBAudioEngine.AudioPlayer #613
Replies: 1 comment 1 reply
-
|
This is a great question that has led me down quite a few rabbit holes! It does seem that in general integrating with the newer audio technologies requires the use of a system audio player. I'm not really familiar with Spatial Audio but based on the WWDC session you linked it seems like |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm utilizing
SFBAudioEngine.AudioPlayerin my music player app by creating a wrapper on top of it with some basic functions that my app needs (available to take a look here). I'm trying to get Spatial Audio control support such that macOS menubar starts showing a UI for it like it does in case of Apple Music (and also some other players);From what I read so far (and looking at WWDC21 Session), is that this is possible when a playing source registers itself as MediaSession and more specifically, by playing audio via
AVPlayerorAVSampleBufferAudioRenderer, but I could be wrong (as I'm new to SwiftUI and CoreAudio concepts in general). So any help in this direction would be useful!Beta Was this translation helpful? Give feedback.
All reactions