Sound init

From Bennu Wiki
Jump to: navigation, search


Definition

INT sound_init ( )

Manually Initializes the audio system. This is normally not needed, but may be necessary on some systems with SDL mixer issues. (verification needed)

Parameters

This function has no parameters.

Returns

INT : Status/error.

0 - The audio device is opened.
-1 - There's an error, failed to initialize the audio system.

See also

Sound_close()


Sound Functions
Fade_music_in()Fade_music_off()Is_playing_song()Is_playing_wav()Load_song()Load_wav()Pause_song()Pause_wav()Play_song()Play_wav()Reserve_channels()Resume_song()Resume_wav()Reverse_stereo()Set_Wav_Volume()Set_channel_volume()Set_distance()Set_music_position()Set_panning()Set_position()Set_song_volume()Sound_close()Sound_init()Stop_song()Stop_wav()Unload_song()Unload_wav()