TMusic Loop Class
Class to play an individual sound or a music (as background loop or not)
Gamolf.FMX.MusicLoop.TMusicLoop
The TMusicLoop type exposes the following members.
Name | Description | |
---|---|---|
![]() | AudioPaused | |
![]() | Filename | |
![]() | Volume | Set or get volume level for current playing sound or music |
![]() | audioActif | |
![]() | audioEnBoucle | |
![]() | audioOn | |
![]() | tag |
Name | Description | |
---|---|---|
![]() ![]() | Current | Get the instance of the default music loop to use it as a singleton |
![]() | CurrentTimeInSeconds | Return current playing time in seconds |
![]() | DurationInSeconds | Return the music duration in seconds |
![]() | IsActive | Check if a sound or music file is loaded |
![]() | IsPlaying | Check if a sound or music is playing |
![]() | Load | Load a music or sound (file formats depend on the operating system). You can try MP3 for music and WAV for sounds |
![]() | Pause | Stop the music or restart it if it was paused |
![]() | Play | Overloaded. Play current soound or music in an infinite loop or one time |
![]() | Play | Overloaded. Load and play a sound or music |
![]() | PlaySound | Just play current sound once time |
![]() | Stop | Stop current play (sound or music) |
![]() | isPaused | Return true if the music is in pause |