# Stop Sound Channel
Grammar — Stop channel channel for players
Flags —Native
|Action
Stops all sounds in a sound channel for the specified players.
# Arguments
playergroup
— Playersint
[ preset::SoundChannel ] — Channel
Returns — void
native void SoundChannelStop(
playergroup players,
int channel,
);
# Related
Category: Sound / Sound Channels
- [F] —
void
— Mute/Unmute Sound Channel — ( SoundChannelMute ) - [F] —
void
— Pause Sound Channel — ( SoundChannelPause ) - [F] —
void
— Stop Sound Channel — ( SoundChannelStop ) - [F] —
void
— Set Sound Channel Volume — ( SoundChannelSetVolume ) - [F] —
void
— Set All Sound Channel Volumes — ( libNtve_gf_SetAllSoundChannelVolumes ) - [F] —
void
— Insert Sound Channel Digital Effect — ( SoundChannelDSPInsert ) - [F] —
void
— Remove Sound Channel Digital Effect — ( SoundChannelDSPRemove )
# Examples
# campaigns/swarm.sc2campaign
// L6327
SoundChannelStop(PlayerGroupAll(), c_soundCategoryCombat)
// L9892
SoundChannelStop(PlayerGroupAll(), c_soundCategoryMusic)
// L6327
SoundChannelStop(PlayerGroupAll(), c_soundCategoryCombat)
// L9892
SoundChannelStop(PlayerGroupAll(), c_soundCategoryMusic)
// L9772
SoundChannelStop(PlayerGroupAll(), c_soundCategoryOther)
// L7782
SoundChannelStop(PlayerGroupAll(), c_soundCategoryOther)
// L9772
SoundChannelStop(PlayerGroupAll(), c_soundCategoryOther)
// L7782
SoundChannelStop(PlayerGroupAll(), c_soundCategoryOther)
# campaigns/voidstory.sc2campaign
— VoidCampaignMissionLib.galaxy
// L1468
SoundChannelStop(PlayerGroupAll(), c_soundCategoryUI)
# mods/starcoop/starcoop.sc2mod
// L18521
SoundChannelStop(PlayerGroupSingle(lv_player), c_soundCategoryVoice)
# mods/voidprologue.sc2mod
// L9458
SoundChannelStop(PlayerGroupAll(), c_soundCategoryUI)