Class TWavSound (unit WavSound)

Inherits from

TComponent

Constructors



Functions

function GetSoundFile: String;


procedure PlaySound(const FileName: String; uFlags: word);

Protected declarations

Procedure SetActive(Const V : boolean);


procedure SetSoundFile(const V: String);


Properties

property Active : Boolean


property AfterPlay : TNotifyEvent


property BeforePlay : TNotifyEvent


property SoundFile : String

Published declarations

property SoundLoop : Boolean


Events

Variables

FActive : Boolean;


FAfterPlay : TNotifyEvent;


FBeforePlay : TNotifyEvent;


FSoundFile : PString;

Private declarations

FSoundLoop : Boolean;



Constructors


Functions


function GetSoundFile: String;


procedure PlaySound(const FileName: String; uFlags: word);

Protected declarations


Procedure SetActive(Const V : boolean);


procedure SetSoundFile(const V: String);


Properties


property Active : Boolean


property AfterPlay : TNotifyEvent


property BeforePlay : TNotifyEvent


property SoundFile : String

Published declarations


property SoundLoop : Boolean


Events


Variables


FActive : Boolean;


FAfterPlay : TNotifyEvent;


FBeforePlay : TNotifyEvent;


FSoundFile : PString;

Private declarations


FSoundLoop : Boolean;