SIMPOL Documentation

Chapter 88. soundlib

winsound

Description

Type Tags

None

Object Value

Objects of type winsound have no value, and it is an error to try to get or set this value.

winsound.new()

Description

Prototype

winsound.new ( winsound me, integer error )

Parameters

ParameterDefault valueType nameDescription
meNonewinsound
errorNoneinteger

Properties

PropertyTypeDescription
_privatewinsoundprivate
playsoundfilefunction
playsystemsoundfunction
typetype

Methods

playsoundfile()

Description

Prototype

winsoundvar.playsoundfile ( winsound me, string sound, boolean sync )

Parameters
ParameterDefault valueType nameDescription
meNonewinsound
soundNonestring
sync.trueboolean

playsystemsound()

Description

Prototype

winsoundvar.playsystemsound ( winsound me, string sound )

Parameters
ParameterDefault valueType nameDescription
meNonewinsound
soundNonestring