
| filename | :: FileName | Supported sound file formats are |
Supported sound file formats are | ||
| volume optional | :: float | This sets both min and max volumes. [...] |
This sets both min and max volumes. [...] | ||
| min_volume optional | :: float | Only loaded if |
Only loaded if | ||
| max_volume optional | :: float | Only loaded if |
Only loaded if | ||
| preload optional | :: boolean | |
| speed optional | :: float | Speed must be |
Speed must be | ||
| min_speed optional | :: float | Only loaded if |
Only loaded if | ||
| max_speed optional | :: float | Only loaded, and mandatory, if |
Only loaded, and mandatory, if | ||
| modifiers optional | :: SoundModifier or array[SoundModifier] | |
| filename | :: FileName | Supported sound file formats are |
Supported sound file formats are | ||
| max_speed optional | :: float | Only loaded, and mandatory, if |
Only loaded, and mandatory, if | ||
| max_volume optional | :: float | Only loaded if |
Only loaded if | ||
| min_speed optional | :: float | Only loaded if |
Only loaded if | ||
| min_volume optional | :: float | Only loaded if |
Only loaded if | ||
| modifiers optional | :: SoundModifier or array[SoundModifier] | |
| preload optional | :: boolean | |
| speed optional | :: float | Speed must be |
Speed must be | ||
| volume optional | :: float | This sets both min and max volumes. [...] |
This sets both min and max volumes. [...] | ||

Supported sound file formats are .ogg (Vorbis and Opus) and .wav.

Default: 1.0
This sets both min and max volumes.
Must be >= 0.

Default: 1.0
Only loaded if volume is not defined.
Must be >= 0.

Default: 1.0
Only loaded if min_volume is defined.
Must be >= min_volume.


Default: 1.0
Speed must be >= 1 / 64. This sets both min and max speeds.

Default: 1.0
Only loaded if speed is not defined.
Must be >= 1 / 64.

Default: 1.0
Only loaded, and mandatory, if min_speed is defined.
Must be >= min_speed.


Prototypes
Types
Defines