Train Simulator NEXT
In This Topic
    IsSoundRunning function
    In This Topic

    This function queries if the sound is playing.

    Syntax

    Copy Code
    bool IsSoundRunning( 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 IsSoundPlaying.

    See Also