📄 readme.txt
字号:
TWavePlayer v1.0 for Delphi
---------------------------
Author: Kambiz R. Khojasteh
Mail: khojasteh@www.dci.co.ir
Web: http://www.crosswinds.net/~khojasteh/
TWavePlayer is a non-visual component for Delphi 3, 4. This component can holds and plays wave
format sounds.
K E Y P R O P E R T I E S
--------------------------
* Active: Boolean
Toggles sound playing on/off.
* Loop: Boolean
If this property set to true, the sound will play continuously.
* StopOthers: Boolean
By setting this property to false, if any other wave is playing, the current will not play.
* WaitToStop: Boolean
By setting this property to false, the sound will play asynchronously.
* Sound: TWave
TWave = TMemoryStream
This property stores the sound data.
M E T H O D S
-------------
* function Empty: Boolean;
If sound property was empty, this function returns true.
* procedure Clear;
Calling the procedure clears the sound property.
* procedure Play;
Calling this method plays the sound, if any.
* procedure Stop;
Calling this method stops the current playing sound.
* procedure LoadFromResourceName(Instance: THandle; ResName: String);
This procedure loads sound data from application resource by a resource name.
* procedure LoadFromResourceID(Instance: THandle; ResID: Integer);
This procedure loads sound data from application resource by a resource ID.
* procedure LoadFromStream(Stream: TStream);
This procedure loads sound data from the stream.
* procedure SaveToStream(Stream: TStream);
This procedure saves sound data to the stream.
* procedure LoadFromFile(FileName: String);
This procedure loads sound data from the file.
* procedure SaveToFile(FileName: String);
This procedure saves sound data to the file.
H I S T O R Y
-------------
* Version 1.0 - 27 Oct 1999
- Initial release
This component is freeware and may be used in any software product.
If you have problems, suggestions, bug reports mail me.
Enjoy,
Kambiz
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -