Edytuj

Udostępnij za pośrednictwem


AudioSource Constructors

Definition

Overloads

AudioSource()

Constructor used when creating subclasses

AudioSource(AudioFileType)
AudioSource(AudioFileType, AudioStreamBasicDescription)

AudioSource()

Constructor used when creating subclasses

public AudioSource ();

Remarks

This constructor is provided as a convenience for developers that need to decouple the creation of the AudioSource from starting the read and write process. Once you have created this object, you need to invoke the Initialize(AudioFileType, AudioStreamBasicDescription) method to complete the setup.

Applies to

AudioSource(AudioFileType)

public AudioSource (AudioToolbox.AudioFileType fileTypeHint);
new AudioToolbox.AudioSource : AudioToolbox.AudioFileType -> AudioToolbox.AudioSource

Parameters

fileTypeHint
AudioFileType

Applies to

AudioSource(AudioFileType, AudioStreamBasicDescription)

public AudioSource (AudioToolbox.AudioFileType inFileType, AudioToolbox.AudioStreamBasicDescription format);
new AudioToolbox.AudioSource : AudioToolbox.AudioFileType * AudioToolbox.AudioStreamBasicDescription -> AudioToolbox.AudioSource

Parameters

inFileType
AudioFileType

Applies to