MonoMac.AudioToolbox.AudioFile Members

The members of MonoMac.AudioToolbox.AudioFile are listed below.

See Also: Inherited members from System.Object

Protected Constructors

This is an internal constructor, do not use directly.

Protected Fields

handleIntPtr. Documentation for this section has not yet been entered.

Public Properties

[read-only]
AlbumArtworkMonoMac.Foundation.NSData. Documentation for this section has not yet been entered.
[read-only]
AudioFormatsAudioFormat[]. Returns a list of the supported audio formats.
[read-only]
BitRateint. Audio file bit rate.
[read-only]
ChannelLayoutAudioChannelLayout. Documentation for this section has not yet been entered.
[read-only]
DataOffsetlong. Documentation for this section has not yet been entered.
[read-only]
DataPacketCountlong. Documentation for this section has not yet been entered.
DeferSizeUpdatesbool. Documentation for this section has not yet been entered.
[read-only]
EstimatedDurationdouble. Documentation for this section has not yet been entered.
[read-only]
FileTypeAudioFileType. Audio file type.
[read-only]
HandleIntPtr. Handle (pointer) to the unmanaged object representation.
[read-only]
IsOptimizedbool. Documentation for this section has not yet been entered.
[read-only]
Lengthlong. Audio file size, in bytes.
MagicCookiebyte[]. The magic cookie for this file.
[read-only]
MaximumPacketSizeint. Documentation for this section has not yet been entered.
[read-only]
PacketSizeUpperBoundint. Documentation for this section has not yet been entered.
[read-only]
StreamBasicDescriptionAudioStreamBasicDescription. The audio basic description, as determined by decoding the file.

Public Methods

ByteToPacket(long, out int, out bool) : long
Converts a position on a stream to its packet location.
CountUserData(uint) : int
Documentation for this section has not yet been entered.
static
Create(MonoMac.CoreFoundation.CFUrl, AudioFileType, AudioStreamBasicDescription, AudioFileFlags) : AudioFile
Creates a new audio file.
static
Create(MonoMac.Foundation.NSUrl, AudioFileType, AudioStreamBasicDescription, AudioFileFlags) : AudioFile
Creates a new audio file.
static
Create(string, AudioFileType, AudioStreamBasicDescription, AudioFileFlags) : AudioFile
Creates a new audio file.
Dispose()
Releases the resourced used by the AudioFile object.
Finalize()
Finalizer for the AudioFile object
FrameToPacket(long, out int) : long
Converts an audio frame into a packet offset.
GetProperty(AudioFileProperty, out int) : IntPtr
Documentation for this section has not yet been entered.
GetProperty(AudioFileProperty, ref int, IntPtr) : bool
Documentation for this section has not yet been entered.
GetPropertyInfo(AudioFileProperty, out int, out int) : bool
Documentation for this section has not yet been entered.
GetUserData(int, int, ref int, IntPtr) : int
Documentation for this section has not yet been entered.
GetUserDataSize(uint, int) : int
Documentation for this section has not yet been entered.
static
Open(MonoMac.CoreFoundation.CFUrl, AudioFilePermission, AudioFileType) : AudioFile
Opens an audio file for reading.
static
Open(MonoMac.Foundation.NSUrl, AudioFilePermission, AudioFileType) : AudioFile
Documentation for this section has not yet been entered.
static
Open(string, AudioFilePermission, AudioFileType) : AudioFile
Documentation for this section has not yet been entered.
static
OpenRead(MonoMac.CoreFoundation.CFUrl, AudioFileType) : AudioFile
Opens the specified audio file for reading, frames will be decoded from the native format to raw audio data.
static
OpenRead(MonoMac.Foundation.NSUrl, AudioFileType) : AudioFile
Opens the specified audio file for reading, frames will be decoded from the native format to raw audio data.
static
OpenRead(string, AudioFileType) : AudioFile
Opens an audio file for reading.
Optimize() : bool
Documentation for this section has not yet been entered.
PacketToByte(long, out bool) : long
Documentation for this section has not yet been entered.
PacketToFrame(long) : long
Documentation for this section has not yet been entered.
Read(long, byte[], int, int, bool) : int
Documentation for this section has not yet been entered.
ReadFixedPackets(long, int, byte[]) : AudioStreamPacketDescription[]
Documentation for this section has not yet been entered.
ReadFixedPackets(bool, long, int, byte[], int, int) : AudioStreamPacketDescription[]
Documentation for this section has not yet been entered.
ReadPacketData(long, int, byte[]) : AudioStreamPacketDescription[]
Reads packets of audio data from an audio file.
ReadPacketData(bool, long, ref int, IntPtr, ref int) : AudioStreamPacketDescription[]
Reads packets of audio data from an audio file.
ReadPacketData(bool, long, ref int, byte[], int, ref int) : AudioStreamPacketDescription[]
Reads packets of audio data from an audio file.
ReadPacketData(bool, long, int, byte[], int, int) : AudioStreamPacketDescription[]
Reads packets of audio data from an audio file.
RemoveUserData(int, int) : int
Documentation for this section has not yet been entered.
SetProperty(AudioFileProperty, int, IntPtr) : bool
Documentation for this section has not yet been entered.
SetUserData(int, int, int, IntPtr) : int
Documentation for this section has not yet been entered.
Write(long, byte[], int, int, bool) : int
Writes a block of data to the audio file.
Write(long, byte[], int, int, bool, out int) : int
Documentation for this section has not yet been entered.
WritePackets(bool, long, AudioStreamPacketDescription[], IntPtr, int) : int
Write audio packets to the audio file.
WritePackets(bool, long, int, IntPtr, int) : int
Documentation for this section has not yet been entered.
WritePackets(bool, long, AudioStreamPacketDescription[], byte[], int, int) : int
Writes audio packets to the file.
WritePackets(bool, long, AudioStreamPacketDescription[], IntPtr, int, out int) : int
Documentation for this section has not yet been entered.
WritePackets(bool, long, AudioStreamPacketDescription[], byte[], int, int, out int) : int
Documentation for this section has not yet been entered.

Protected Methods

Dispose(bool)
Releases the resourced used by the AudioFile object.