Originally Posted by
Thyandyr
One feature that may be useful for music files is to start from a specific location.
procedure Music_Play(aMusic: TMusic; aVolume: Single; aLoops: Integer; aLocation: Single = 0); external LUNA_DLL; // Playback music starting from aLocation
Specified in seconds, percent of file length etc.
Ok, added:
Code:
function Music_SetPosition(aPosition: Single): Boolean; external LUNA_DLL; // Set the current position (seconds) in the music stream (only MOD, OGG, FLAC, MP3_MAD, MODPLUG formats).
Will be in next update. Thanks again for the suggestion.
Bookmarks