Table of Contents

Class AudioSelectorControl

Namespace
NAudio.MacOS.CoreAudio
Assembly
NAudio.MacOS.dll

The AudioSelectorControl class is an AudioControl class that selection-related controls do inherit from.

public class AudioSelectorControl : AudioControl, IEquatable<AudioObject>, IEqualityOperators<AudioObject, AudioObject, bool>
Inheritance
AudioSelectorControl
Implements
Inherited Members

Properties

AvailableItems

An array of uints that represent the IDs of all the items available.

public uint[] AvailableItems { get; }

Property Value

uint[]

CurrentItem

An array of uints that are the IDs of the items currently selected.

public uint[] CurrentItem { get; set; }

Property Value

uint[]

Methods

GetKind(uint)

This method returns a uint that identifies the kind of selector item the item ID refers to.
The id parameter contains the ID of the item.
Note that this method is optional for selector controls and that the meaning of the value depends on the specific subclass being queried.

public uint GetKind(uint id)

Parameters

id uint

The ID of the item to query it's kind.

Returns

uint

GetName(uint)

This method translates the given item ID into a human readable name. The qualifier contains the ID of the item to be translated and the name is returned as a string.

public string GetName(uint id)

Parameters

id uint

Returns

string

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.