wavplayer Play method
Example
Return to Introduction  Previous page  Next page
Applies to
acWavPlayer component.  

Declaration
procedure Play;  

Description
The Play method plays a waveform sound specified either by uploaded onto form in WaveSound property or by system sound specified in SoundType property.  
 
If Asynchronous property is True, sound will plays asynchronously and and the function returns immediately after beginning the sound.  
 
Usually Play method initiates playing of the sound only once. However, If Looped property is True, sound will playing continuously. To terminate playing - call Stop method.  

See also
Stop method.