audioplayer_pause

Pause an audioplayer object.

Syntax

  • pause(playObj)

Input argument

  • playObj - an audioplayer object.

Description

pause pauses an audioplayer object.

Example

signal = rand(2, 44100) - 0.5;
playObj = audioplayer(signal, 44100, 16)
play(playObj)
sleep(2)
pause(playObj)
delete(playObj)
playObj

See also

audioplayer, stop.

History

Version
Description

1.0.0

initial version

Author

Allan CORNET

Last updated