Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Don't create default desktop audio source on macOS 13+ #10992

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

jcm93
Copy link
Contributor

@jcm93 jcm93 commented Jul 16, 2024

Description

Removes the default device-based "Desktop Audio" source created on first run if the user is on macOS 13+.

Motivation and Context

Since adding macOS Screen Capture in macOS 13, the recommended way to capture audio on macOS is via that source (or alternately, the macOS Audio Capture source for strictly audio-only sources). The device-based audio source idiom is only relevant for older versions of macOS, or for some specialized workflows that require advanced audio routing via programs like Blackhole, VB-Cable, et. al.

The creation of this device-based source by default on new macOS 13+ systems very often leads to new user confusion. It doesn't provide any audio, and users often think that they need to configure it to get desktop audio, which can actually point them away from the newer, easier-to-use audio capture methods.

On top of being nonfunctional, the source also just takes up space in the audio mixer until the user disables it.

How Has This Been Tested?

Tested on macOS 15. On a fresh startup of OBS, the Desktop Audio device in Settings is now set to "Disabled," with only the Mic/Aux source configured in the audio mixer.

Types of changes

  • Tweak (non-breaking change to improve existing functionality)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@WizardCM WizardCM added Enhancement Improvement to existing functionality macOS Affects macOS UI/UX Anything to do with changes or additions to UI/UX elements. labels Jul 16, 2024
Copy link
Collaborator

@Lain-B Lain-B left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose this is fine. You okay with it @Warchamp7?

Might be good to change the commit email though.

@jcm93 jcm93 force-pushed the disable-desktop-audio-macos branch from 5420cce to 74b3e40 Compare July 20, 2024 23:25
Copy link
Member

@GeorgesStavracas GeorgesStavracas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UI / UX approved

@gxalpha gxalpha merged commit 1b25acd into obsproject:master Aug 12, 2024
15 checks passed
@RytoEX RytoEX added this to the OBS Studio 31 milestone Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Improvement to existing functionality macOS Affects macOS UI/UX Anything to do with changes or additions to UI/UX elements.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants