FUNCTION REFERENCE

audioplayer.resume

Resume paused playback on an audioplayer object.

Resume paused playback on an audioplayer object.

Syntax

resume(p)

Syntax

p.resume()

In builds with audio support, isplaying(p) returns 1 while resumed playback is running.

Example

p = audioplayer(zeros(80000,1), 8000); if isobject(p); p.play(); p.pause(); p.resume(); disp(isplaying(p)); p.stop(); end   % 1

Differences from MATLAB: Null playback resumes at the paused sample. On an output device, the audible position depends on device buffering.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.