mirror of
https://github.com/kyleneideck/BackgroundMusic
synced 2024-11-22 20:23:04 +00:00
b715212cab
On macOS, apps are supposed to play UI-related sounds using the "system default" device. This commit creates a new instance of BGM_Driver, which BGMApp sets as the system default device. BGMApp ignores audio played to that device when deciding whether to pause/unpause the user's music player. Since UI sounds are short, this helps avoid pausing the music player and unpausing it shortly after. |
||
---|---|---|
.. | ||
BGMDriver | ||
BGMDriver.xcodeproj | ||
BGMDriverTests | ||
PublicUtility |