編集

次の方法で共有


AudioFile.Create Method

Definition

Overloads

Create(String, AudioFileType, AudioStreamBasicDescription, AudioFileFlags)

Creates a new audio file.

Create(CFUrl, AudioFileType, AudioStreamBasicDescription, AudioFileFlags)

Creates a new audio file.

Create(NSUrl, AudioFileType, AudioStreamBasicDescription, AudioFileFlags)

Creates a new audio file.

Create(String, AudioFileType, AudioStreamBasicDescription, AudioFileFlags)

Creates a new audio file.

public static AudioToolbox.AudioFile Create (string url, AudioToolbox.AudioFileType fileType, AudioToolbox.AudioStreamBasicDescription format, AudioToolbox.AudioFileFlags inFlags);
static member Create : string * AudioToolbox.AudioFileType * AudioToolbox.AudioStreamBasicDescription * AudioToolbox.AudioFileFlags -> AudioToolbox.AudioFile

Parameters

url
String

The url of the file to create

fileType
AudioFileType

The file type for the created file

format
AudioStreamBasicDescription

Description of the data that is going to be passed to the AudioFile object

inFlags
AudioFileFlags

Creation flags.

Returns

The initialized audio file, or null if there is an error creating the file

Applies to

Create(CFUrl, AudioFileType, AudioStreamBasicDescription, AudioFileFlags)

Creates a new audio file.

public static AudioToolbox.AudioFile Create (CoreFoundation.CFUrl url, AudioToolbox.AudioFileType fileType, AudioToolbox.AudioStreamBasicDescription format, AudioToolbox.AudioFileFlags inFlags);
static member Create : CoreFoundation.CFUrl * AudioToolbox.AudioFileType * AudioToolbox.AudioStreamBasicDescription * AudioToolbox.AudioFileFlags -> AudioToolbox.AudioFile

Parameters

url
CFUrl

The url of the file to create

fileType
AudioFileType

The file type for the created file

format
AudioStreamBasicDescription

Description of the data that is going to be passed to the AudioFile object

inFlags
AudioFileFlags

Creation flags.

Returns

The initialized audio file, or null if there is an error creating the file

Applies to

Create(NSUrl, AudioFileType, AudioStreamBasicDescription, AudioFileFlags)

Creates a new audio file.

public static AudioToolbox.AudioFile Create (Foundation.NSUrl url, AudioToolbox.AudioFileType fileType, AudioToolbox.AudioStreamBasicDescription format, AudioToolbox.AudioFileFlags inFlags);
static member Create : Foundation.NSUrl * AudioToolbox.AudioFileType * AudioToolbox.AudioStreamBasicDescription * AudioToolbox.AudioFileFlags -> AudioToolbox.AudioFile

Parameters

url
NSUrl

The url of the file to create

fileType
AudioFileType

The file type for the created file

format
AudioStreamBasicDescription

Description of the data that is going to be passed to the AudioFile object

inFlags
AudioFileFlags

Creation flags.

Returns

The initialized audio file, or null if there is an error creating the file

Applies to