Gorilla.Audio.Manager

Unit Gorilla.Audio.Manager.pas

Classes

Records

Enumerations

Constants

    TGorillaAudioAction

    enum TGorillaAudioAction = ( Cache, Play, Stop, Pause ) ;

    Defines a state of audio file handling.

    The action defines what the audio manager should do with the specific audio file.
    TGorillaAudioAction.Cache - start caching
    TGorillaAudioAction.Play - start playback
    TGorillaAudioAction.Stop - stop playback
    TGorillaAudioAction.Pause - pause playback or restart playback

    TGorillaAudioMode

    enum TGorillaAudioMode = ( Once, Loop ) ;

    Defines the kind of playback used for a specific audio file.

    The mode defines the kind of playback used for this audio file.
    TGorillaAudioMode.Once - audio file is played only once
    TGorillaAudioMode.Loop - audio file played in a loop

    EGorillaAudioException

    Ancestors

    Members

    Fields

    Methods

    Properties

    TGorillaAudioManager

    Audio management component encapsulated inside of a thread. This component was not built for performance only for easy usage. The component contains a mediaplayer for each audio file to allow multiple playback and independet audio handling (volume).

    Remarks

    By using the AudioManager the startup can slow down immense. Because when queueing audio files the media file component loads up the file completely to memory and creates an separate thread.

    Ancestors

    Members

    Fields

    Methods

    Properties