Class BaseSink.BaseSinkClass

All Implemented Interfaces:
Proxy
Direct Known Subclasses:
AppSink.AppSinkClass, AudioBaseSink.AudioBaseSinkClass, VideoSink.VideoSinkClass
Enclosing class:
BaseSink

public static class BaseSink.BaseSinkClass extends Element.ElementClass
Subclasses can override any of the available virtual methods or not, as needed. At the minimum, the render method should be overridden to output/present buffers.
  • Constructor Details

    • BaseSinkClass

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

    • getMemoryLayout

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

      public void overrideGetCaps(Arena arena, @Nullable Method method)
      Override virtual method get_caps.
      Parameters:
      method - the method to invoke
    • overrideSetCaps

      public void overrideSetCaps(Arena arena, @Nullable Method method)
      Override virtual method set_caps.
      Parameters:
      method - the method to invoke
    • overrideFixate

      public void overrideFixate(Arena arena, @Nullable Method method)
      Override virtual method fixate.
      Parameters:
      method - the method to invoke
    • overrideActivatePull

      public void overrideActivatePull(Arena arena, @Nullable Method method)
      Override virtual method activate_pull.
      Parameters:
      method - the method to invoke
    • overrideGetTimes

      public void overrideGetTimes(Arena arena, @Nullable Method method)
      Override virtual method get_times.
      Parameters:
      method - the method to invoke
    • overrideProposeAllocation

      public void overrideProposeAllocation(Arena arena, @Nullable Method method)
      Override virtual method propose_allocation.
      Parameters:
      method - the method to invoke
    • overrideStart

      public void overrideStart(Arena arena, @Nullable Method method)
      Override virtual method start.
      Parameters:
      method - the method to invoke
    • overrideStop

      public void overrideStop(Arena arena, @Nullable Method method)
      Override virtual method stop.
      Parameters:
      method - the method to invoke
    • overrideUnlock

      public void overrideUnlock(Arena arena, @Nullable Method method)
      Override virtual method unlock.
      Parameters:
      method - the method to invoke
    • overrideUnlockStop

      public void overrideUnlockStop(Arena arena, @Nullable Method method)
      Override virtual method unlock_stop.
      Parameters:
      method - the method to invoke
    • overrideQuery

      public void overrideQuery(Arena arena, @Nullable Method method)
      Override virtual method query.
      Overrides:
      overrideQuery in class Element.ElementClass
      Parameters:
      method - the method to invoke
    • overrideEvent

      public void overrideEvent(Arena arena, @Nullable Method method)
      Override virtual method event.
      Parameters:
      method - the method to invoke
    • overrideWaitEvent

      public void overrideWaitEvent(Arena arena, @Nullable Method method)
      Override virtual method wait_event.
      Parameters:
      method - the method to invoke
    • overridePrepare

      public void overridePrepare(Arena arena, @Nullable Method method)
      Override virtual method prepare.
      Parameters:
      method - the method to invoke
    • overridePrepareList

      public void overridePrepareList(Arena arena, @Nullable Method method)
      Override virtual method prepare_list.
      Parameters:
      method - the method to invoke
    • overridePreroll

      public void overridePreroll(Arena arena, @Nullable Method method)
      Override virtual method preroll.
      Parameters:
      method - the method to invoke
    • overrideRender

      public void overrideRender(Arena arena, @Nullable Method method)
      Override virtual method render.
      Parameters:
      method - the method to invoke
    • overrideRenderList

      public void overrideRenderList(Arena arena, @Nullable Method method)
      Override virtual method render_list.
      Parameters:
      method - the method to invoke