Skip to content

ChannelBus

Narta Xaymar Dirks edited this page Nov 27, 2026 · 1 revision

ChannelBus BlitzLLVM

ChannelBus:Void channel:Int32, bus:Int32
Parameter Mode Type Default Description
channel In Int32 required A channel handle from PlaySound, PlayMusic or EmitSound.
bus In Int32 required A bus from CreateAudioBus, or 0 for the master bus. Anything else is a runtime error.

Description

BlitzLLVM This command does not exist in the original Blitz products. BlitzLLVM adds it.

Moves a channel to a bus. It is heard there from the next block of sound on. This is a BlitzLLVM extension.

Differences

  • A channel that is over is ignored. GetChannelBus tells the bus of a channel, and SoundBus picks the bus that channels start on.

Examples

ch = PlaySound(door)
ChannelBus ch, world

Related Commands

ChannelPan BlitzBasic, ChannelPitch BlitzBasic, ChannelPlaying BlitzBasic, ChannelVolume BlitzBasic, CreateAudioBus BlitzLLVM, FreeAudioBus BlitzLLVM, GetChannelBus BlitzLLVM, MusicBus BlitzLLVM

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally