Castle Game Engine: CastleALUtils: Class TALSoundFile

# Class TALSoundFile
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleALUtils ## Declaration `type TALSoundFile = class(TObject)` ## Description ## Hierarchy TObject TALSoundFile ## Overview ### Methods
| `constructor Create(ASoundFile: TSoundFile; AOwnsSoundFile: boolean);`
| `destructor Destroy; override;`
| `procedure alBufferData(buffer: TALuint);`
| `class procedure alBufferDataFromFile(buffer: TALuint; const URL: string; out Duration: TFloatTime);`
### Properties
| `property SoundFile: TSoundFile read FSoundFile;`
| `property OwnsSoundFile: boolean read FOwnsSoundFile;`
## Description ### Methods
| `constructor Create(ASoundFile: TSoundFile; AOwnsSoundFile: boolean);`
Creates TALSoundFile, with given SoundFile. If OwnsSoundFile then SoundFile will be freed on destruction of this object.
| `destructor Destroy; override;`
| `procedure alBufferData(buffer: TALuint);`
Load this file to the buffer using `alBufferData`(buffer, ...) where "..." is taken from SoundFile's properties.
| `class procedure alBufferDataFromFile(buffer: TALuint; const URL: string; out Duration: TFloatTime);`
### Properties
| `property SoundFile: TSoundFile read FSoundFile;`
| `property OwnsSoundFile: boolean read FOwnsSoundFile;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:08