Skip to content

Commit

Permalink
update bt usage
Browse files Browse the repository at this point in the history
  • Loading branch information
laves committed Oct 22, 2024
1 parent 5f982b8 commit 8859576
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions VoiceProcessor.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright 2021-2023 Picovoice Inc.
// Copyright 2021-2024 Picovoice Inc.
// You may not use this file except in compliance with the license. A copy of the license is located in the "LICENSE"
// file accompanying this source.
// Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
Expand Down Expand Up @@ -241,7 +241,7 @@ public class VoiceProcessor {
do {
try AVAudioSession.sharedInstance().setCategory(
AVAudioSession.Category.playAndRecord,
options: [.mixWithOthers, .defaultToSpeaker, .allowBluetooth])
options: [.mixWithOthers, .allowAirPlay, .allowBluetoothA2DP])
try AVAudioSession.sharedInstance().setActive(
true,
options: .notifyOthersOnDeactivation)
Expand Down
4 changes: 2 additions & 2 deletions example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- ios-voice-processor (1.1.0)
- ios-voice-processor (1.1.1)

DEPENDENCIES:
- ios-voice-processor (from `../`)
Expand All @@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
ios-voice-processor: 8e32d7f980a06d392d128ef1cd19cf6ddcaca3c1
ios-voice-processor: 4035132542c7ae07f1e459c6d276b6da000302bb

PODFILE CHECKSUM: f3172c9d85af56bf5f3c29596f2387f5961c52b6

Expand Down
4 changes: 2 additions & 2 deletions ios-voice-processor.podspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright 2021-2023 Picovoice Inc.
# Copyright 2021-2024 Picovoice Inc.
# You may not use this file except in compliance with the license. A copy of the license is located in the "LICENSE"
# file accompanying this source.
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
Expand All @@ -10,7 +10,7 @@
Pod::Spec.new do |s|
s.name = 'ios-voice-processor'
s.module_name = 'ios_voice_processor'
s.version = '1.1.0'
s.version = '1.1.1'
s.summary = 'An asynchronous iOS audio recording library designed for real-time speech audio processing.'
s.description = <<-DESC
The iOS Voice Processor is an asynchronous audio capture library designed for real-time audio processing.
Expand Down

0 comments on commit 8859576

Please sign in to comment.