Train Simulator NEXT
In This Topic
    IsSoundPlaying function
    In This Topic

    This function queries if the sound is playing.

    Syntax

    Copy Code
    bool IsSoundPlaying( int SoundIndex );

    Parameters

    SoundIndex

    Type: int

    The sound index.

    Returns

    Returns a true if the sound is playing.

    Returns false if there is an internal error or the sound is paused or stopped.

    Remarks

    This function is equal to IsSoundRunning.

    See Also