Difference between revisions of "TPlaySound"

From Lazarus wiki
Jump to navigationJump to search
m (Fixed broken link)
Line 9: Line 9:
 
*TPlaySound is available from the [https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/playsoundpackage/ Lazarus CCR Repository]
 
*TPlaySound is available from the [https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/components/playsoundpackage/ Lazarus CCR Repository]
 
====See Also====
 
====See Also====
[Play_Sound_Multiplatform|Code example]
+
[[Play_Sound_Multiplatform|Code example]]
 
[[Category:Components]]
 
[[Category:Components]]
 
[[Category:Multimedia]]
 
[[Category:Multimedia]]

Revision as of 11:36, 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