Class DiscovererAudioInfo

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class DiscovererAudioInfo extends DiscovererStreamInfo
GstDiscovererStreamInfo specific to audio streams.
  • Constructor Details

    • DiscovererAudioInfo

      public DiscovererAudioInfo(MemorySegment address)
      Create a DiscovererAudioInfo instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • DiscovererAudioInfo

      public DiscovererAudioInfo()
      Create a new DiscovererAudioInfo.
  • Method Details

    • getType

      public static @Nullable Type getType()
      Get the GType of the DiscovererAudioInfo class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • asParent

      protected DiscovererAudioInfo asParent()
      Return this instance as if it were its parent type. Comparable to the Java super keyword, but ensures the parent typeclass is also used in native code.
      Overrides:
      asParent in class DiscovererStreamInfo
      Returns:
      the instance as if it were its parent type
    • getBitrate

      public int getBitrate()
    • getChannelMask

      public long getChannelMask()
    • getChannels

      public int getChannels()
    • getDepth

      public int getDepth()
    • getLanguage

      public @Nullable String getLanguage()
    • getMaxBitrate

      public int getMaxBitrate()
    • getSampleRate

      public int getSampleRate()
    • builder

      public static DiscovererAudioInfo.Builder<? extends DiscovererAudioInfo.Builder> builder()
      A DiscovererAudioInfo.Builder object constructs a DiscovererAudioInfo with the specified properties. Use the various set...() methods to set properties, and finish construction with DiscovererAudioInfo.Builder.build().
      Returns:
      the builder object