Is playing wav

From Bennu Wiki
Revision as of 09:01, 13 March 2012 by 82.74.128.190 (talk) (Created page with 'Category:functions Category:sound Category:mod_sound ==Definition== '''INT''' is_playing_wav ( '''INT''' <channel > ) Checks to see if Bennu is playing a wave file …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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()