Show / Hide Table of Contents

Struct ALCaptureDevice

Handle to an OpenAL capture device.

Implements
IEquatable<ALCaptureDevice>
Inherited Members
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: OpenTK.Audio.OpenAL
Assembly: OpenTK.Audio.OpenAL.dll
Syntax
public struct ALCaptureDevice : IEquatable<ALCaptureDevice>

Constructors

ALCaptureDevice(nint)

Declaration
public ALCaptureDevice(nint handle)
Parameters
Type Name Description
nint handle

Fields

Handle

Declaration
public nint Handle
Field Value
Type Description
nint

Null

Declaration
public static readonly ALCaptureDevice Null
Field Value
Type Description
ALCaptureDevice

Methods

Equals(ALCaptureDevice)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(ALCaptureDevice other)
Parameters
Type Name Description
ALCaptureDevice other

An object to compare with this object.

Returns
Type Description
bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The object to compare with the current instance.

Returns
Type Description
bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

Overrides
ValueType.Equals(object)

GetHashCode()

Returns the hash code for this instance.

Declaration
public override int GetHashCode()
Returns
Type Description
int

A 32-bit signed integer that is the hash code for this instance.

Overrides
ValueType.GetHashCode()

Operators

operator ==(ALCaptureDevice, ALCaptureDevice)

Declaration
public static bool operator ==(ALCaptureDevice left, ALCaptureDevice right)
Parameters
Type Name Description
ALCaptureDevice left
ALCaptureDevice right
Returns
Type Description
bool

implicit operator nint(ALCaptureDevice)

Declaration
public static implicit operator nint(ALCaptureDevice device)
Parameters
Type Name Description
ALCaptureDevice device
Returns
Type Description
nint

operator !=(ALCaptureDevice, ALCaptureDevice)

Declaration
public static bool operator !=(ALCaptureDevice left, ALCaptureDevice right)
Parameters
Type Name Description
ALCaptureDevice left
ALCaptureDevice right
Returns
Type Description
bool

Implements

IEquatable<T>
In this article
Back to top Generated by DocFX