This wiki is out of date, use the continuation of this wiki instead

Unload song

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 11:55, 31 July 2007 (edit)
Sandman (Talk | contribs)
(I think stop_song() is not needed)
← Previous diff
Revision as of 11:59, 19 September 2007 (edit) (undo)
Sandman (Talk | contribs)
m
Next diff →
Line 9: Line 9:
== Parameters == == Parameters ==
{| {|
-| '''INT''' SongID || - The [[SongID]] identifier of the music.+| '''INT''' SongID || - The [[SongID]] of the song to unload.
|} |}
Line 15: Line 15:
'''INT''' : Error. '''INT''' : Error.
{| {|
-| -1 || - Error: sound inactive; invalid songID.+| -1 || - Error: sound inactive; invalid [[songID]].
|- |-
| 0 || - No error. | 0 || - No error.
|} |}

Revision as of 11:59, 19 September 2007


Definition

INT unload_song ( <INT SongID> )

Frees the memory occupied by the song file, previously loaded with load_song().

Parameters

INT SongID - The SongID of the song to unload.

Returns

INT : Error.

-1 - Error: sound inactive; invalid songID.
0 - No error.
Personal tools