Class AudioAggregatorPad

All Implemented Interfaces:
Proxy
Direct Known Subclasses:
AudioAggregatorConvertPad

@Generated("org.javagi.JavaGI") public class AudioAggregatorPad extends AggregatorPad
The default implementation of GstPad used with GstAudioAggregator
Since:
1.14
  • Constructor Details

    • AudioAggregatorPad

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

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

    • getType

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

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

      protected AudioAggregatorPad 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 AggregatorPad
      Returns:
      the instance as if it were its parent type
    • convertBuffer

      protected Buffer convertBuffer(AudioInfo inInfo, AudioInfo outInfo, Buffer buffer)
      Convert a buffer from one format to another.
    • updateConversionInfo

      protected void updateConversionInfo()
      Called when either the input or output formats have changed.
    • builder

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