Skip to content

AVFAudio watchOS xcode15.0 b2

Manuel de la Pena edited this page Jan 5, 2024 · 2 revisions

#AVFAudio.framework ##mandel

diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioEngine.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioEngine.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioEngine.h	2023-05-19 20:45:51
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/AVFAudio.framework/Headers/AVAudioEngine.h	2023-06-10 01:51:04
@@ -462,6 +462,12 @@
 	Trying to perform input through the input node when it is not enabled or available will
 	cause the engine to throw an error (when possible) or an exception.
 
+	Note that if the engine has at any point previously had its inputNode enabled and permission to
+	record was granted, then any time the engine is running, the mic-in-use indicator will appear.
+
+	For applications which may need to dynamically switch between output-only and input-output
+	modes, it may be advantageous to use two engine instances.
+ 
 	In manual rendering mode, the input node can be used to synchronously supply data to
 	the engine while it is rendering (see 
 	`AVAudioInputNode(setManualRenderingInputPCMFormat:inputBlock:)`.
Clone this wiki locally