From 8859576f713f5123c5af0cfc552cabc733c923c1 Mon Sep 17 00:00:00 2001 From: Ian Lavery Date: Tue, 22 Oct 2024 14:15:28 -0700 Subject: [PATCH] update bt usage --- VoiceProcessor.swift | 4 ++-- example/Podfile.lock | 4 ++-- ios-voice-processor.podspec | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/VoiceProcessor.swift b/VoiceProcessor.swift index c80f75b..9702456 100644 --- a/VoiceProcessor.swift +++ b/VoiceProcessor.swift @@ -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 @@ -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) diff --git a/example/Podfile.lock b/example/Podfile.lock index 98b38f9..1eea4a6 100644 --- a/example/Podfile.lock +++ b/example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - ios-voice-processor (1.1.0) + - ios-voice-processor (1.1.1) DEPENDENCIES: - ios-voice-processor (from `../`) @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - ios-voice-processor: 8e32d7f980a06d392d128ef1cd19cf6ddcaca3c1 + ios-voice-processor: 4035132542c7ae07f1e459c6d276b6da000302bb PODFILE CHECKSUM: f3172c9d85af56bf5f3c29596f2387f5961c52b6 diff --git a/ios-voice-processor.podspec b/ios-voice-processor.podspec index beb44e8..6bb6a5f 100644 --- a/ios-voice-processor.podspec +++ b/ios-voice-processor.podspec @@ -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 @@ -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.