Class TALSoundFile

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TALSoundFile = class(TObject)

Description

Hierarchy

  • TObject
  • TALSoundFile

Overview

Methods

Public constructor Create(ASoundFile: TSoundFile; AOwnsSoundFile: boolean);
Public destructor Destroy; override;
Public procedure alBufferData(buffer: TALuint);
Public class procedure alBufferDataFromFile(buffer: TALuint; const URL: string; out Duration: TFloatTime);

Properties

Public property SoundFile: TSoundFile read FSoundFile;
Public property OwnsSoundFile: boolean read FOwnsSoundFile;

Description

Methods

Public constructor Create(ASoundFile: TSoundFile; AOwnsSoundFile: boolean);

Creates TALSoundFile, with given SoundFile. If OwnsSoundFile then SoundFile will be freed on destruction of this object.

Public destructor Destroy; override;
 
Public procedure alBufferData(buffer: TALuint);

Load this file to the buffer using alBufferData(buffer, ...) where "..." is taken from SoundFile's properties.

Public class procedure alBufferDataFromFile(buffer: TALuint; const URL: string; out Duration: TFloatTime);
 

Properties

Public property SoundFile: TSoundFile read FSoundFile;
 
Public property OwnsSoundFile: boolean read FOwnsSoundFile;
 

Generated by PasDoc 0.13.0 on 2014-08-30 12:10:31