Skip to content

Commit

Permalink
hound
Browse files Browse the repository at this point in the history
  • Loading branch information
emurray2 committed Jan 8, 2024
1 parent 5cb87cd commit d9de693
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ class MultiSegmentPlayerConductor: ObservableObject, HasAudioEngine {

func setAudioSessionCategoriesWithOptions() {
do {
try AudioKit.Settings.session.setCategory(.playAndRecord, options: [.defaultToSpeaker, .mixWithOthers, .allowBluetooth, .allowBluetoothA2DP])
try AudioKit.Settings.session.setCategory(.playAndRecord,
options: [.defaultToSpeaker,
.mixWithOthers,
.allowBluetooth,
.allowBluetoothA2DP])
try AudioKit.Settings.session.setActive(true)
} catch {
assertionFailure(error.localizedDescription)
Expand Down

0 comments on commit d9de693

Please sign in to comment.