Record Class FFprobeAudioFrameConst

java.lang.Object
java.lang.Record
tv.hd3g.fflauncher.ffprobecontainer.FFprobeAudioFrameConst

public record FFprobeAudioFrameConst(FFprobeAudioFrame updatedWith, String sampleFmt, int channels, ChannelLayout channelLayout) extends Record
  • Constructor Details

    • FFprobeAudioFrameConst

      public FFprobeAudioFrameConst(FFprobeAudioFrame updatedWith, String sampleFmt, int channels, ChannelLayout channelLayout)
      Creates an instance of a FFprobeAudioFrameConst record class.
      Parameters:
      updatedWith - the value for the updatedWith record component
      sampleFmt - the value for the sampleFmt record component
      channels - the value for the channels record component
      channelLayout - the value for the channelLayout record component
  • Method Details

    • valuesEquals

      public boolean valuesEquals(FFprobeAudioFrameConst obj)
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • updatedWith

      public FFprobeAudioFrame updatedWith()
      Returns the value of the updatedWith record component.
      Returns:
      the value of the updatedWith record component
    • sampleFmt

      public String sampleFmt()
      Returns the value of the sampleFmt record component.
      Returns:
      the value of the sampleFmt record component
    • channels

      public int channels()
      Returns the value of the channels record component.
      Returns:
      the value of the channels record component
    • channelLayout

      public ChannelLayout channelLayout()
      Returns the value of the channelLayout record component.
      Returns:
      the value of the channelLayout record component