Sound_Player module

sound_player_init

procedureSource

Opens the audio output and starts mixing. Returns false if there is no usable device. Calling it again after it worked does nothing.

Example
if !sound_player_init(.{}) print("no audio\n");

This one is only checked to compile, not run.

sound_player_init :: (given_config: Sound_Player_Config) -> bool

Parameters

given_config: Sound_Player_Config

Returns

bool

See also