Unit Gamolf.FMX.MusicLoop

Description

***************************************************************************

Delphi Game Engine

Copyright 2021-2025 Patrick Prémartin under AGPL 3.0 license.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

***************************************************************************

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-01-14T16:59:50.000+01:00 Signature : 5b27248cf34100907ee09fda9986e76f7d373a3e ***************************************************************************

Uses

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

Delphi Game Engine (c) 2021-2025 Patrick PREMARTIN - Powered by PasDoc
Generated by PasDoc 0.16.0.