Unit Gamolf.FMX.MusicLoop
Description
C2PP ***************************************************************************
Delphi Game Engine Copyright (c) 2021-2026 Patrick PREMARTIN
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
***************************************************************************
Delphi Game Engine contains libraries and components to use in VCL or FireMonkey game (or classic) projects.
If you want to play sounds or musics, use game controllers, pilot your user interface with the keyboard or a game controller, it's the good place.
***************************************************************************
Author(s) : Patrick PREMARTIN
Site : https://delphigameengine.developpeur-pascal.fr
Project site : https://github.com/DeveloppeurPascal/Delphi-Game-Engine
*************************************************************************** File last update : 2025-05-25T17:36:33.976+02:00 Signature : 922afe1b3a7bb9920189d7556d0a1b25e953e484 ***************************************************************************
Uses
- FMX.Types
- FMX.Media
- System.Generics.Collections
Overview
Classes, Interfaces, Objects and Records
| Name | Description |
|---|---|
Class TMusicLoop |
Class to play an individual sound or a music (as background loop or not) |
Class TSoundList |
Class to manage all sounds (or musics) of a game Use it if you want to register sounds once and play them as many time you need |
Functions and Procedures
function MusicLoop: TMusicLoop; |
function SoundList: TSoundList; |
Types
TVolumeSonore = 0 .. 100; |
Description
Functions and Procedures
function MusicLoop: TMusicLoop; |
|
Return the default instance for the TMusicLoop class |
function SoundList: TSoundList; |
|
Return the default instance for the TSoundList class |
Types
TVolumeSonore = 0 .. 100; |
|
Sound and music volume level |
Generated by PasDoc 1.0.2.