Livecode Wiki
Register
Advertisement

Returns a list of the sound channels that currently exist.Syntax:

mobileSoundChannels()

Examples:

get mobileSoundChannels()
put mobileSoundChannels() into tSoundChannelList

Use the mobileSoundChannels function to get a list of the sound channels that currently exist.

Sound channels persist after any sounds have finished playing on them, retaining the last volume setting. To remove a channel from memory completely use the mobileDeleteSoundChannel command.

Sound channels only consume system resources when they are playing sounds, this means you don't need to be concerned about having many around at once (assuming most are inactive).

See also: mobilePlaySoundOnChannel (command),mobileSetSoundChannelVolume (command),mobilePausePlayingOnChannel (command),mobileStopPlayingOnChannel (command),mobileResumePlayingOnChannel (command),mobileSoundChannelVolume (function),mobileSoundOnChannel (function),mobileNextSoundOnChannel (function),mobileSoundChannelStatus (function),soundFinishedOnChannel (message),

Advertisement