AudioKit / Cookbook

Canonical Examples for Using the AudioKit Framework
MIT License
606 stars 97 forks source link

Bluetooth headphone support #147

Closed emurray2 closed 6 months ago

emurray2 commented 6 months ago

Description

Right now the MultiSegmentPlayerConductor creates its own audio session which doesn't account for users who may be wearing Bluetooth headphones: Screenshot 2024-01-08 at 6 18 48 PM

Thus, headphone icon disappears when Cookbook app is loaded and will play out of speakers instead.

Proposed Solution

Match this audio session to other Recipes and the session defined in CookbookApp:

Screenshot 2024-01-08 at 6 22 42 PM

Screenshot 2024-01-08 at 6 23 35 PM

Describe Alternatives You've Considered

The alternative is to have one audio session throughout the whole Cookbook at the cost of not allowing each recipe to have its own custom session if needed

Additional Context

No response