Class TPHXSoundDeviceList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TPHXSoundDeviceList = class(TObject)

Description

List container for floats

Hierarchy

  • TObject
  • TPHXSoundDeviceList

Overview

Methods

Public constructor Create;
Public destructor Destroy; override;
Public procedure Clear;
Public procedure Add(const Value: TPHXSoundDevice); overload;
Public procedure Add(const Ident: Cardinal; const Name: String); overload;
Public function Find(const Name: String; out Device: TPHXSoundDevice): Boolean;

Properties

Public property Count: Integer read FCount write SetCount;
Public property Capacity: Integer read FCapacity write SetCapacity;
Public property List: PSoundDeviceList read FList;
Public property Items[Index:Integer]: TPHXSoundDevice read GetItem Write SetItem;

Description

Methods

Public constructor Create;

Creates a new sound device list

Public destructor Destroy; override;

Destroys this list

Public procedure Clear;

Removes all devices from the list

Public procedure Add(const Value: TPHXSoundDevice); overload;

Add a devices to the list

Public procedure Add(const Ident: Cardinal; const Name: String); overload;

Add a devices to the list

Public function Find(const Name: String; out Device: TPHXSoundDevice): Boolean;

Find a sound device by name, returns true if the device exists

Properties

Public property Count: Integer read FCount write SetCount;

The current number of items in the list

Public property Capacity: Integer read FCapacity write SetCapacity;

The current capacity of the list

Public property List: PSoundDeviceList read FList;

Pointer to the internal list

Public property Items[Index:Integer]: TPHXSoundDevice read GetItem Write SetItem;

Gets and sets items in the list


Generated by PasDoc 0.13.0 on 2013-08-26 11:02:34