soundplayer_play_sound()

Play a system sound.

Synopsis:

#include <bps/soundplayer.h>
 
BPS_API int soundplayer_play_sound(const char *name)

Arguments:

name
The name of the system sound.

Library:

libbps

Description:

The soundplayer_play_sound() function plays the specified system sound.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.