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
,
integer me
)
error
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | winsound | |
error | None | integer |
Properties
Property | Type | Description |
---|---|---|
_private | winsoundprivate | |
playsoundfile | function | |
playsystemsound | function | |
type | type |
Methods
playsoundfile()
Description
Prototype
winsoundvar
.playsoundfile
(
winsound
,
string me
,
boolean sound
)
sync
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | winsound | |
sound | None | string | |
sync | .true | boolean |
playsystemsound()
Description
Prototype
winsoundvar
.playsystemsound
(
winsound
,
string me
)
sound
Parameters
Parameter | Default value | Type name | Description |
---|---|---|---|
me | None | winsound | |
sound | None | string |