Skip to content

MovieChannel

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

MovieChannel BlitzLLVM

MovieChannel:Int32 movie:Int32
Parameter Mode Type Default Description
movie In Int32 required A movie handle from OpenMovie.

Returns: The channel, 0 for a movie without sound or without a sound device. It stays the same until CloseMovie, across SeekMovie and loops.

Description

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

Gives the channel that the sound of a movie plays on, for the channel commands: ChannelVolume (the same volume as MovieVolume), ChannelPan, ChannelBus, ChannelRadius and ChannelPlaying. This is a BlitzLLVM extension.

Differences

Examples

movie = OpenMovie("advert.mp4")
ChannelPan MovieChannel(movie), -1 ; only on the left speaker

Related Commands

CloseMovie BlitzBasic, MovieBus BlitzLLVM, MovieHeight BlitzBasic, MovieLength BlitzLLVM, MoviePlaying BlitzBasic, MoviePosition BlitzLLVM, MovieVolume BlitzLLVM, MovieWidth BlitzBasic

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally