Previous | Up | Next |
asSndCopy
Duplicate a AsSnd already created.Parameters
AsSnd asSndCopy ( Chn _channel_ AsSnd _sound_ )
Return value
_channel_ Proprietary channel. _sound_ Object AsSnd to be duplicated.
The new AsSnd created, or nil if the creation failed.Remark
The duplication of a AsSnd loaded in a static manner, with the AS_SND_STATIC flag called by the function asSndLoad allows to avoid new memory allocation for the data but still returns a AsSnd which is completely independent from the first.