AudioBufferResource
An audio resource that you load from an Avaudiobuffer.
Declaration
@MainActor @preconcurrency class AudioBufferResourceOverview
Use the resource to create an AudioPlaybackController instance by calling an entity’s prepareAudio(_:) or playAudio(_:) function. The controller plays the audio from the location in space of the entity that created the controller.