Skip to content

Conversation

@naykutguven
Copy link
Contributor

This pull request changes AVAudioSession.CategoryOptions from the deprecated .allowBluetooth to .allowBluetoothHFP in the AudioProcessor extension to remove the deprecation warning and use the modern API.

Copilot AI review requested due to automatic review settings September 23, 2025 07:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request addresses a deprecation warning by updating the AVAudioSession CategoryOptions from the deprecated .allowBluetooth to the modern .allowBluetoothHFP API.

  • Updates deprecated Bluetooth audio session option to use the current API
  • Maintains existing functionality while removing deprecation warnings

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

@ZachNagengast ZachNagengast left a comment

Choose a reason for hiding this comment

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

Approving to run full tests, allowBluetoothHFP is only available on watchOS 11+ but there is already a flag to skip this for watchOS, so all good 👍

@ZachNagengast ZachNagengast self-requested a review September 24, 2025 21:33
@naykutguven naykutguven marked this pull request as draft September 26, 2025 17:43
@naykutguven
Copy link
Contributor Author

This change requires macOS 13.1 so I am converting it to a draft

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants