RealityFoundation · IOS API REFERENCE
Audio.GeneratorRenderHandler
typealias · iOS 18.0+ · SDK 27.1
typealias GeneratorRenderHandler = AVAudioSourceNodeRenderBlockA handler that generates real-time audio. The audio format is ``Float32`` with a sample rate of ``48000``. - Note: The system executes your handler in a real-time audio thread. Achieve optimal performance by ensuring the closure finishes quickly. Avoid heap allocations or locks within the closure. - Note: As of Swift 6, you should mark your handler as @Sendable to ensure no actor isolation is inferred and that any captured values are safe to use from a realtime audio concurrency domain.
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
No declarations were skipped in this snapshot.