public override string ToString() { return(AreaIDFrom.ToString() + ", " + AreaIDTo.ToString() + ", " + AreaUnk.ToString() + ", " + PolyIDFrom1.ToString() + ", " + PolyIDFrom2.ToString() + ", " + PolyIDTo1.ToString() + ", " + PolyIDTo2.ToString() + ", " + Type.ToString() + ", " + Angle.ToString() + ", " + FlagsUnk.ToString() + ", " + "(" + PositionFrom.ToString() + " | " + PositionTo.ToString() + ")"); }
/// <summary> /// Initializes a new instance of the <see cref="T:SoxSharp.Effects.Types.Position"/> struct. /// </summary> /// <param name="samples">Position expressed as number of samples.</param> /// <param name="from">Whether the position is to be interpreted relative to the start, end or the previous position.</param> public Position(uint samples, PositionFrom from) { time_ = null; samples_ = samples; from_ = from; }
/// <summary> /// Initializes a new instance of the <see cref="T:SoxSharp.Effects.Types.Position"/> struct. /// </summary> /// <param name="time">Position expressed as a time value.</param> /// <param name="from">How</param> public Position(TimeSpan time, PositionFrom from) { time_ = time; samples_ = null; from_ = from; }