Is playing wav

From Bennu Wiki
Jump to navigation Jump to search


Definition

INT is_playing_wav ( INT <channel > )

Checks to see if Bennu is playing a wave file on the indicated Sound_channel, started with play_wav().

Parameters

INT channel: The Sound_channel

Returns

INT : Whether Bennu is playing a song at the moment of calling.

true - Bennu is playing a song.
false - Bennu is not playing a song.

Example


Used in example:


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_channel_volume()Set_distance()Set_music_position()Set_panning()Set_position()Set_song_volume()Set_Wav_Volume()Sound_close()Sound_init()Stop_song()Stop_wav()Unload_song()Unload_wav()