C# Class JackSharp.Ports.Port

Port for client to contain data to process.
Inheritance: IDisposable
Datei anzeigen Open project: residuum/JackSharp Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Releases all resource used by the JackSharp.Ports.Port object.

Call Dispose when you are finished using the JackSharp.Ports.Port. The Dispose method leaves the JackSharp.Ports.Port in an unusable state. After calling Dispose, you must release all references to the JackSharp.Ports.Port so the garbage collector can reclaim the memory that the JackSharp.Ports.Port was occupying.

Equals ( Port other ) : bool

Determines whether the specified JackSharp.Ports.Port is equal to the current JackSharp.Ports.Port.

Equals ( object obj ) : bool

Determines whether the specified System.Object is equal to the current JackSharp.Ports.Port.

GetHashCode ( ) : int

Serves as a hash function for a JackSharp.Ports.Port object.

operator ( ) : bool

Private Methods

Method Description
CreateName ( string nameFormat, int index, Direction direction, PortType portType ) : string
Dispose ( bool isDisposing ) : void
GetBuffer ( uint nframes ) : StructPointer
GetJackPortFlags ( Direction direction ) : JackPortFlags
GetTypeName ( PortType portType ) : string
Port ( UnsafeStructs jackClient, int index, Direction direction, PortType portType, string nameFormat ) : System
RegisterPort ( Direction direction, PortType portType ) : UnsafeStructs.jack_port_t*

Method Details

Dispose() public method

Releases all resource used by the JackSharp.Ports.Port object.
Call Dispose when you are finished using the JackSharp.Ports.Port. The Dispose method leaves the JackSharp.Ports.Port in an unusable state. After calling Dispose, you must release all references to the JackSharp.Ports.Port so the garbage collector can reclaim the memory that the JackSharp.Ports.Port was occupying.
public Dispose ( ) : void
return void

Equals() public method

Determines whether the specified JackSharp.Ports.Port is equal to the current JackSharp.Ports.Port.
public Equals ( Port other ) : bool
other Port The to compare with the current .
return bool

Equals() public method

Determines whether the specified System.Object is equal to the current JackSharp.Ports.Port.
public Equals ( object obj ) : bool
obj object The to compare with the current .
return bool

GetHashCode() public method

Serves as a hash function for a JackSharp.Ports.Port object.
public GetHashCode ( ) : int
return int

operator() public static method

public static operator ( ) : bool
return bool