Documentation

clone

System object: dsp.AudioPlayer
Package: dsp

Create audio player object with same property values

    Note:   The dsp.AudioPlayer object will be removed in a future release. Existing instances of the object continue to run. For new code, use the audioDeviceWriter object instead.

Syntax

C = clone(H)

Description

C = clone(H) creates an audio player object, C, with the same property values as H. If an object is locked, the clone method creates a copy that is also locked and has states initialized to the same values as the original. If an object is not locked, the clone method creates a new unlocked object with uninitialized states.

Was this topic helpful?