Skip to content

AudioSceneListener

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

AudioSceneListener BlitzLLVM

AudioSceneListener:Void scene:Int32, setting:Int32, value:Float32
Parameter Mode Type Default Description
scene In Int32 required A scene from CreateAudioScene. Anything else is a runtime error.
setting In Int32 required BB_LISTENER_ROLLOFF (1, ListenerRolloff), BB_LISTENER_DOPPLER (2, ListenerDoppler), BB_LISTENER_DISTANCE (3, ListenerDistance), BB_LISTENER_SPEEDOFSOUND (4, SpeedOfSound) or BB_LISTENER_RADIUS (5, ListenerRadius), from the shipped include file audio.bb. Anything else is a runtime error.
value In Float32 required The value, with the same limits as the command of the setting.

Description

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

Sets a listener setting that the scene sets when it is applied. This is a BlitzLLVM extension.

Examples

Include "<audio.bb>"
AudioSceneListener underwater, BB_LISTENER_SPEEDOFSOUND, 1480

Related Commands

ApplyAudioScene BlitzLLVM, AudioBusParent BlitzLLVM, AudioBusVolume BlitzLLVM, AudioSceneVolume BlitzLLVM, BlendAudioScene BlitzLLVM, CaptureAudioScene BlitzLLVM, ClearAudioScene BlitzLLVM, CopyAudioScene BlitzLLVM

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally