C# Class MonoMac.AudioToolbox.ExtAudioFile

Inheritance: IDisposable
Show file Open project: kangaroo/maccore

Public Methods

Method Description
CreateWithURL ( MonoMac url, AudioFileType fileType, AudioStreamBasicDescription inStreamDesc, AudioFileFlags flag ) : ExtAudioFile
Dispose ( ) : void
FileTell ( ) : long
OpenURL ( MonoMac url ) : ExtAudioFile
Read ( uint numberFrames, AudioBufferList data ) : uint
Seek ( long frameOffset ) : void
WriteAsync ( uint numberFrames, AudioBufferList data ) : void

Private Methods

Method Description
ExtAudioFile ( IntPtr ptr ) : System
ExtAudioFileCreateWithURL ( IntPtr inURL, [ inFileType, AudioStreamBasicDescription &inStreamDesc, IntPtr inChannelLayout, UInt32 flags, IntPtr outExtAudioFile ) : int
ExtAudioFileDispose ( IntPtr inExtAudioFile ) : int
ExtAudioFileGetProperty ( IntPtr inExtAudioFile, ExtAudioFilePropertyIDType inPropertyID, uint &ioPropertyDataSize, AudioStreamBasicDescription &outPropertyData ) : int
ExtAudioFileGetProperty ( IntPtr inExtAudioFile, ExtAudioFilePropertyIDType inPropertyID, uint &ioPropertyDataSize, IntPtr outPropertyData ) : int
ExtAudioFileGetProperty ( IntPtr inExtAudioFile, ExtAudioFilePropertyIDType inPropertyID, uint &ioPropertyDataSize, long &outPropertyData ) : int
ExtAudioFileOpenURL ( IntPtr inUrl, IntPtr outExtAudioFile ) : int
ExtAudioFileRead ( IntPtr inExtAudioFile, uint &ioNumberFrames, AudioBufferList ioData ) : int
ExtAudioFileSeek ( IntPtr inExtAudioFile, long inFrameOffset ) : int
ExtAudioFileSetProperty ( IntPtr inExtAudioFile, ExtAudioFilePropertyIDType inPropertyID, uint ioPropertyDataSize, AudioStreamBasicDescription &outPropertyData ) : int
ExtAudioFileSetProperty ( IntPtr inExtAudioFile, ExtAudioFilePropertyIDType inPropertyID, uint ioPropertyDataSize, IntPtr outPropertyData ) : int
ExtAudioFileTell ( IntPtr inExtAudioFile, long &outFrameOffset ) : int
ExtAudioFileWriteAsync ( IntPtr inExtAudioFile, uint inNumberFrames, AudioBufferList ioData ) : int

Method Details

CreateWithURL() public static method

public static CreateWithURL ( MonoMac url, AudioFileType fileType, AudioStreamBasicDescription inStreamDesc, AudioFileFlags flag ) : ExtAudioFile
url MonoMac
fileType AudioFileType
inStreamDesc AudioStreamBasicDescription
flag AudioFileFlags
return ExtAudioFile

Dispose() public method

public Dispose ( ) : void
return void

FileTell() public method

public FileTell ( ) : long
return long

OpenURL() public static method

public static OpenURL ( MonoMac url ) : ExtAudioFile
url MonoMac
return ExtAudioFile

Read() public method

public Read ( uint numberFrames, AudioBufferList data ) : uint
numberFrames uint
data AudioBufferList
return uint

Seek() public method

public Seek ( long frameOffset ) : void
frameOffset long
return void

WriteAsync() public method

public WriteAsync ( uint numberFrames, AudioBufferList data ) : void
numberFrames uint
data AudioBufferList
return void