audioSource
The source of audio played by this player.
Declaration
var audioSource: SCNAudioSource? { get }Discussion
An SCNAudioSource object represents a distinct source of audio—for example, a sound file—that can be reused and shared by many player objects. Use a player’s audio source to configure the default values for playback parameters such as volume and reverb. To vary those parameters in real time during playback, use the audioNode property to work with the underlying AVAudioNode object.
If the player was created with the audioPlayerWithAVAudioNode: method, this property’s value is nil.