Skip to content

fix: audio_capture_type compare #12061

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

Closed
wants to merge 1 commit into from

Conversation

Colerar
Copy link
Contributor

@Colerar Colerar commented Apr 18, 2025

Description

The original implementation cannot build on my machine, M4 Pro, macOS 15.4.1 (24E263).

screen_capture_build_content_list(sc, sc->capture_type == ScreenCaptureAudioDesktopStream);

The stream type is mismatched.

So I modified the code to

screen_capture_build_content_list(sc, sc->audio_capture_type == ScreenCaptureAudioDesktopStream);

Motivation and Context

Fixes #12034

How Has This Been Tested?

simple build bug fix :)

Types of changes

  • Bug fix

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 Bug Fix Non-breaking change which fixes an issue macOS Affects macOS labels Apr 18, 2025
@tytan652
Copy link
Collaborator

Duplicate of #12035

@tytan652 tytan652 marked this as a duplicate of #12035 Apr 18, 2025
@tytan652 tytan652 closed this Apr 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Fix Non-breaking change which fixes an issue macOS Affects macOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

latest OBS doesn't compile in MacOs
3 participants