Difference between revisions of "TPlaySound"

From Lazarus wiki
Jump to navigationJump to search
(Added Category)
Line 12: Line 12:
 
[[Category:Components]]
 
[[Category:Components]]
 
[[Category:Multimedia]]
 
[[Category:Multimedia]]
 +
[[Category:Lazarus-CCR]]

Revision as of 12:13, 13 October 2014

PlaySound

Summary

  • TPlaySound is a component to play WAV files in Windows and Linux
  • Set the SoundFile property to the path of your WAV file
  • Set the PlayStyle to psAsync or psSync
  • Call the Execute method

playsound oi.png

Download

See Also

Code example