Class TPHXAudioStreams

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TPHXAudioStreams = class(TObject)

Description

List of audio samples

Hierarchy

  • TObject
  • TPHXAudioStreams

Overview

Methods

Public constructor Create(AEngine: TPHXAudioEngine);
Public destructor Destroy; override;
Public procedure Clear;
Public function LoadStream(const FileName: String): TPHXAudioStream;
Public function Find(const Name: String): TPHXAudioStream; overload;
Public function Find(const Name: String; out Stream: TPHXAudioStream): Boolean; overload;

Properties

Public property Engine: TPHXAudioEngine read FEngine;
Public property Count: Integer read GetCount;
Public property List: PAudioStreamList read GetList;
Public property Items[Index:Integer]: TPHXAudioStream read GetItem;

Description

Methods

Public constructor Create(AEngine: TPHXAudioEngine);

Create the audio sample list

Public destructor Destroy; override;

Free the list

Public procedure Clear;

Remove and free all sounds

Public function LoadStream(const FileName: String): TPHXAudioStream;

Load the audio sample from a file

Public function Find(const Name: String): TPHXAudioStream; overload;

Find a stream by name

Public function Find(const Name: String; out Stream: TPHXAudioStream): Boolean; overload;

Find a stream by name

Properties

Public property Engine: TPHXAudioEngine read FEngine;

The owning audio engine

Public property Count: Integer read GetCount;

Number of loaded sounds

Public property List: PAudioStreamList read GetList;

Return a pointer to the internal list

Public property Items[Index:Integer]: TPHXAudioStream read GetItem;

The sounds in the list


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