# Pause Sound Channel
Grammar — pause|Pause/Unpause channel channel for players
Flags —Native
|Action
Pauses all sounds in a sound channel for the specified player group.
# Arguments
playergroup
— Playersint
[ preset::SoundChannel ] — Channelbool
[ preset::PauseUnpauseOption ] — Pause
Returns — void
native void SoundChannelPause(
playergroup players,
int channel,
bool pause,
);
# 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
// L9893
SoundChannelPause(PlayerGroupAll(), c_soundCategoryMusic, false)
// L9893
SoundChannelPause(PlayerGroupAll(), c_soundCategoryMusic, false)