StartSound channels
Jump to navigation
Jump to search
Note: This page is meant to be included into other pages that describe sound functions, such as A_StartSound, using the {{: StartSound channels}} syntax. (This note will not be included.) |
- CHAN_AUTO (0) — Explicitly plays the sound with the CHANF_OVERLAP flag enabled (even if it's not passed). This means that all sounds passed to this channel will play over each other, never interrupting one another. Before GZDoom 4.4.0 CHAN_AUTO used to pick the first unoccupied channel, but this behavior was dropped when the ability to play multiple sounds on the same channel was added.
- CHAN_WEAPON (1)
- CHAN_VOICE (2)
- CHAN_ITEM (3)
- CHAN_BODY (4) — The default for A_StartSound / A_PlaySound (but not S_StartSound), for historical reasons.
- CHAN_5 (5)
- CHAN_6 (6)
- CHAN_7 (7)