AudioSource Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- format
- AudioStreamBasicDescription