Skip to content

SoundBus

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

SoundBus BlitzLLVM

SoundBus:Void sound:Int32, bus:Int32
Parameter Mode Type Default Description
sound In Int32 required A sound from LoadSound or Load3DSound. 0 is ignored.
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.

Picks the bus that the channels of a sound start on, the way SoundVolume picks their volume. This is a BlitzLLVM extension.

Examples

SoundBus footsteps, world
PlaySound footsteps ; plays on the world bus

Related Commands

ChannelBus BlitzLLVM, CreateAudioBus BlitzLLVM, FreeAudioBus BlitzLLVM, GetChannelBus BlitzLLVM, MusicBus BlitzLLVM, PauseAudioBus BlitzLLVM, ResumeAudioBus BlitzLLVM, SoundPan BlitzBasic

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally