Base class: Object

Lua
C++
Edit

Speaker

This class provides an interface to control the way a sound behaves when played.

Property Type Description
GetHandle Method returns the OpenAL alsource for the speaker
GetPitch Method gets the speaker pitch
GetState Method gets the speaker state
GetTime Method gets the current speaker sound time
GetVolume Method gets the speaker volume
Pause Method pauses the speaker
Play Method plays or resumes the speaker
SetLooping Method set the speaker loop mode
SetPitch Method sets the speaker pitch
SetTime Method jumps to the specified sound time
SetFilter Method adds an audio filter
SetVolume Method sets the speaker volume
Stop Method stops the speaker
CreateSpeaker Function creates a new speaker object
Copyright © 2024 Ultra Software.
All rights reserved.