Skip to content

MusicBus

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

MusicBus BlitzLLVM

MusicBus:Void bus:Int32
Parameter Mode Type Default Description
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 PlayMusic start on. This is a BlitzLLVM extension.

Examples

music = CreateAudioBus()
MusicBus music
PlayMusic "theme.ogg", 1

Related Commands

ChannelBus BlitzLLVM, CreateAudioBus BlitzLLVM, FreeAudioBus BlitzLLVM, GetChannelBus BlitzLLVM, PauseAudioBus BlitzLLVM, ResumeAudioBus BlitzLLVM, SoundBus BlitzLLVM, StopAudioBus BlitzLLVM

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally