Class AudioCdSrcTrack

java.lang.Object
org.javagi.base.ProxyInstance
org.freedesktop.gstreamer.audio.AudioCdSrcTrack
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class AudioCdSrcTrack extends ProxyInstance

CD track abstraction to communicate TOC entries to the base class.

This structure is only for use by sub-classed in connection with gst_audio_cd_src_add_track().

Applications will be informed of the available tracks via a TOC message on the pipeline's GstBus instead.

  • Constructor Details

    • AudioCdSrcTrack

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

      public AudioCdSrcTrack(Arena arena)
      Allocate a new AudioCdSrcTrack.
      Parameters:
      arena - to control the memory allocation scope
    • AudioCdSrcTrack

      public AudioCdSrcTrack()
      Allocate a new AudioCdSrcTrack. The memory is allocated with Arena.ofAuto().
    • AudioCdSrcTrack

      public AudioCdSrcTrack(boolean isAudio, int num, int start, int end, TagList tags, Arena arena)
      Allocate a new AudioCdSrcTrack with the fields set to the provided values.
      Parameters:
      isAudio - value for the field isAudio
      num - value for the field num
      start - value for the field start
      end - value for the field end
      tags - value for the field tags
      arena - to control the memory allocation scope
    • AudioCdSrcTrack

      public AudioCdSrcTrack(boolean isAudio, int num, int start, int end, TagList tags)
      Allocate a new AudioCdSrcTrack with the fields set to the provided values. The memory is allocated with Arena.ofAuto().
      Parameters:
      isAudio - value for the field isAudio
      num - value for the field num
      start - value for the field start
      end - value for the field end
      tags - value for the field tags
  • Method Details

    • getMemoryLayout

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

      public boolean readIsAudio()
      Read the value of the field is_audio.
      Returns:
      The value of the field is_audio
    • writeIsAudio

      public void writeIsAudio(boolean isAudio)
      Write a value in the field is_audio.
      Parameters:
      isAudio - The new value for the field is_audio
    • readNum

      public int readNum()
      Read the value of the field num.
      Returns:
      The value of the field num
    • writeNum

      public void writeNum(int num)
      Write a value in the field num.
      Parameters:
      num - The new value for the field num
    • readStart

      public int readStart()
      Read the value of the field start.
      Returns:
      The value of the field start
    • writeStart

      public void writeStart(int start)
      Write a value in the field start.
      Parameters:
      start - The new value for the field start
    • readEnd

      public int readEnd()
      Read the value of the field end.
      Returns:
      The value of the field end
    • writeEnd

      public void writeEnd(int end)
      Write a value in the field end.
      Parameters:
      end - The new value for the field end
    • readTags

      public TagList readTags()
      Read the value of the field tags.
      Returns:
      The value of the field tags
    • writeTags

      public void writeTags(TagList tags)
      Write a value in the field tags.
      Parameters:
      tags - The new value for the field tags