IsSound()

语法

Result = IsSound(#Sound)
概要
Tests if the specified number is a valid and correctly initialized sound.

参数

#Sound The sound to use.

返回值

Nonzero if the specified number is a valid sound, zero otherwise.

Remarks

This function is bulletproof and can be used with any value. This is the correct way to ensure a sound is ready to use.

参阅

FreeSound()

已支持操作系统

所有

<- InitSound() - Sound Index - LoadSound() ->