Search Results for

    Show / Hide Table of Contents

    Struct PlayRange

    Describes the range of audio samples to play, in time unit.

    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Evergine.Common.Audio
    Assembly: Evergine.Common.dll
    Syntax
    public struct PlayRange

    Constructors

    PlayRange(TimeSpan, TimeSpan)

    Initializes a new instance of the PlayRange structure.

    Declaration
    public PlayRange(TimeSpan start, TimeSpan length)
    Parameters
    Type Name Description
    TimeSpan start

    The Stating time.

    TimeSpan length

    The Length of the audio extract to play.

    Fields

    Length

    The Length of the audio extract to play.

    Declaration
    public TimeSpan Length
    Field Value
    Type Description
    TimeSpan

    Start

    The Stating time.

    Declaration
    public TimeSpan Start
    Field Value
    Type Description
    TimeSpan

    Properties

    End

    Gets the Ending time.

    Declaration
    public TimeSpan End { get; }
    Property Value
    Type Description
    TimeSpan

    Methods

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    Operators

    operator ==(PlayRange, PlayRange)

    Compares whether two PlayRange instances are equal.

    Declaration
    public static bool operator ==(PlayRange a, PlayRange b)
    Parameters
    Type Name Description
    PlayRange a

    PlayRange instance on the left of the equal sign.

    PlayRange b

    PlayRange instance on the right of the equal sign.

    Returns
    Type Description
    bool

    true if the instances are equal; false otherwise.

    operator !=(PlayRange, PlayRange)

    Compares whether two PlayRange instances are not equal.

    Declaration
    public static bool operator !=(PlayRange a, PlayRange b)
    Parameters
    Type Name Description
    PlayRange a

    PlayRange instance on the left of the not equal sign.

    PlayRange b

    PlayRange instance on the right of the not equal sign.

    Returns
    Type Description
    bool

    true if the instances are not equal; false otherwise.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX