Class FMOD_CREATESOUNDEXINFO.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<FMOD_CREATESOUNDEXINFO>, NativeResource, Pointer
Enclosing class:
FMOD_CREATESOUNDEXINFO

public static class FMOD_CREATESOUNDEXINFO.Buffer extends StructBuffer<FMOD_CREATESOUNDEXINFO,FMOD_CREATESOUNDEXINFO.Buffer> implements NativeResource
An array of FMOD_CREATESOUNDEXINFO structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new FMOD_CREATESOUNDEXINFO.Buffer instance backed by the specified container.

      Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by FMOD_CREATESOUNDEXINFO.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • cbsize

      public int cbsize()
      Returns:
      the value of the cbsize field.
    • length

      public int length()
      Returns:
      the value of the length field.
    • fileoffset

      public int fileoffset()
      Returns:
      the value of the fileoffset field.
    • numchannels

      public int numchannels()
      Returns:
      the value of the numchannels field.
    • defaultfrequency

      public int defaultfrequency()
      Returns:
      the value of the defaultfrequency field.
    • format

      public int format()
      Returns:
      the value of the format field.
    • decodebuffersize

      public int decodebuffersize()
      Returns:
      the value of the decodebuffersize field.
    • initialsubsound

      public int initialsubsound()
      Returns:
      the value of the initialsubsound field.
    • numsubsounds

      public int numsubsounds()
      Returns:
      the value of the numsubsounds field.
    • inclusionlist

      public IntBuffer inclusionlist()
      Returns:
      a IntBuffer view of the data pointed to by the inclusionlist field.
    • inclusionlistnum

      public int inclusionlistnum()
      Returns:
      the value of the inclusionlistnum field.
    • pcmreadcallback

      public @Nullable FMOD_SOUND_PCMREAD_CALLBACK pcmreadcallback()
      Returns:
      the value of the pcmreadcallback field.
    • pcmsetposcallback

      public @Nullable FMOD_SOUND_PCMSETPOS_CALLBACK pcmsetposcallback()
      Returns:
      the value of the pcmsetposcallback field.
    • nonblockcallback

      public @Nullable FMOD_SOUND_NONBLOCK_CALLBACK nonblockcallback()
      Returns:
      the value of the nonblockcallback field.
    • dlsname

      public @Nullable ByteBuffer dlsname()
      Returns:
      a ByteBuffer view of the null-terminated string pointed to by the dlsname field.
    • dlsnameString

      public @Nullable String dlsnameString()
      Returns:
      the null-terminated string pointed to by the dlsname field.
    • encryptionkey

      public @Nullable ByteBuffer encryptionkey()
      Returns:
      a ByteBuffer view of the null-terminated string pointed to by the encryptionkey field.
    • encryptionkeyString

      public @Nullable String encryptionkeyString()
      Returns:
      the null-terminated string pointed to by the encryptionkey field.
    • maxpolyphony

      public int maxpolyphony()
      Returns:
      the value of the maxpolyphony field.
    • userdata

      public long userdata()
      Returns:
      the value of the userdata field.
    • suggestedsoundtype

      public int suggestedsoundtype()
      Returns:
      the value of the suggestedsoundtype field.
    • fileuseropen

      public @Nullable FMOD_FILE_OPEN_CALLBACK fileuseropen()
      Returns:
      the value of the fileuseropen field.
    • fileuserclose

      public @Nullable FMOD_FILE_CLOSE_CALLBACK fileuserclose()
      Returns:
      the value of the fileuserclose field.
    • fileuserread

      public @Nullable FMOD_FILE_READ_CALLBACK fileuserread()
      Returns:
      the value of the fileuserread field.
    • fileuserseek

      public @Nullable FMOD_FILE_SEEK_CALLBACK fileuserseek()
      Returns:
      the value of the fileuserseek field.
    • fileuserasyncread

      public @Nullable FMOD_FILE_ASYNCREAD_CALLBACK fileuserasyncread()
      Returns:
      the value of the fileuserasyncread field.
    • fileuserasynccancel

      public @Nullable FMOD_FILE_ASYNCCANCEL_CALLBACK fileuserasynccancel()
      Returns:
      the value of the fileuserasynccancel field.
    • fileuserdata

      public long fileuserdata()
      Returns:
      the value of the fileuserdata field.
    • filebuffersize

      public int filebuffersize()
      Returns:
      the value of the filebuffersize field.
    • channelorder

      public int channelorder()
      Returns:
      the value of the channelorder field.
    • initialsoundgroup

      public long initialsoundgroup()
      Returns:
      the value of the initialsoundgroup field.
    • initialseekposition

      public int initialseekposition()
      Returns:
      the value of the initialseekposition field.
    • initialseekpostype

      public int initialseekpostype()
      Returns:
      the value of the initialseekpostype field.
    • ignoresetfilesystem

      public int ignoresetfilesystem()
      Returns:
      the value of the ignoresetfilesystem field.
    • audioqueuepolicy

      public int audioqueuepolicy()
      Returns:
      the value of the audioqueuepolicy field.
    • minmidigranularity

      public int minmidigranularity()
      Returns:
      the value of the minmidigranularity field.
    • nonblockthreadid

      public int nonblockthreadid()
      Returns:
      the value of the nonblockthreadid field.
    • fsbguid

      public @Nullable FMOD_GUID fsbguid()
      Returns:
      a FMOD_GUID view of the struct pointed to by the fsbguid field.
    • cbsize

      public FMOD_CREATESOUNDEXINFO.Buffer cbsize(int value)
      Sets the specified value to the cbsize field.
    • length

      public FMOD_CREATESOUNDEXINFO.Buffer length(int value)
      Sets the specified value to the length field.
    • fileoffset

      public FMOD_CREATESOUNDEXINFO.Buffer fileoffset(int value)
      Sets the specified value to the fileoffset field.
    • numchannels

      public FMOD_CREATESOUNDEXINFO.Buffer numchannels(int value)
      Sets the specified value to the numchannels field.
    • defaultfrequency

      public FMOD_CREATESOUNDEXINFO.Buffer defaultfrequency(int value)
      Sets the specified value to the defaultfrequency field.
    • format

      public FMOD_CREATESOUNDEXINFO.Buffer format(int value)
      Sets the specified value to the format field.
    • decodebuffersize

      public FMOD_CREATESOUNDEXINFO.Buffer decodebuffersize(int value)
      Sets the specified value to the decodebuffersize field.
    • initialsubsound

      public FMOD_CREATESOUNDEXINFO.Buffer initialsubsound(int value)
      Sets the specified value to the initialsubsound field.
    • numsubsounds

      public FMOD_CREATESOUNDEXINFO.Buffer numsubsounds(int value)
      Sets the specified value to the numsubsounds field.
    • inclusionlist

      public FMOD_CREATESOUNDEXINFO.Buffer inclusionlist(IntBuffer value)
      Sets the address of the specified IntBuffer to the inclusionlist field.
    • pcmreadcallback

      public FMOD_CREATESOUNDEXINFO.Buffer pcmreadcallback(@Nullable FMOD_SOUND_PCMREAD_CALLBACKI value)
      Sets the specified value to the pcmreadcallback field.
    • pcmsetposcallback

      public FMOD_CREATESOUNDEXINFO.Buffer pcmsetposcallback(@Nullable FMOD_SOUND_PCMSETPOS_CALLBACKI value)
      Sets the specified value to the pcmsetposcallback field.
    • nonblockcallback

      public FMOD_CREATESOUNDEXINFO.Buffer nonblockcallback(@Nullable FMOD_SOUND_NONBLOCK_CALLBACKI value)
      Sets the specified value to the nonblockcallback field.
    • dlsname

      public FMOD_CREATESOUNDEXINFO.Buffer dlsname(@Nullable ByteBuffer value)
      Sets the address of the specified encoded string to the dlsname field.
    • encryptionkey

      public FMOD_CREATESOUNDEXINFO.Buffer encryptionkey(@Nullable ByteBuffer value)
      Sets the address of the specified encoded string to the encryptionkey field.
    • maxpolyphony

      public FMOD_CREATESOUNDEXINFO.Buffer maxpolyphony(int value)
      Sets the specified value to the maxpolyphony field.
    • userdata

      public FMOD_CREATESOUNDEXINFO.Buffer userdata(long value)
      Sets the specified value to the userdata field.
    • suggestedsoundtype

      public FMOD_CREATESOUNDEXINFO.Buffer suggestedsoundtype(int value)
      Sets the specified value to the suggestedsoundtype field.
    • fileuseropen

      public FMOD_CREATESOUNDEXINFO.Buffer fileuseropen(@Nullable FMOD_FILE_OPEN_CALLBACKI value)
      Sets the specified value to the fileuseropen field.
    • fileuserclose

      public FMOD_CREATESOUNDEXINFO.Buffer fileuserclose(@Nullable FMOD_FILE_CLOSE_CALLBACKI value)
      Sets the specified value to the fileuserclose field.
    • fileuserread

      public FMOD_CREATESOUNDEXINFO.Buffer fileuserread(@Nullable FMOD_FILE_READ_CALLBACKI value)
      Sets the specified value to the fileuserread field.
    • fileuserseek

      public FMOD_CREATESOUNDEXINFO.Buffer fileuserseek(@Nullable FMOD_FILE_SEEK_CALLBACKI value)
      Sets the specified value to the fileuserseek field.
    • fileuserasyncread

      public FMOD_CREATESOUNDEXINFO.Buffer fileuserasyncread(@Nullable FMOD_FILE_ASYNCREAD_CALLBACKI value)
      Sets the specified value to the fileuserasyncread field.
    • fileuserasynccancel

      public FMOD_CREATESOUNDEXINFO.Buffer fileuserasynccancel(@Nullable FMOD_FILE_ASYNCCANCEL_CALLBACKI value)
      Sets the specified value to the fileuserasynccancel field.
    • fileuserdata

      public FMOD_CREATESOUNDEXINFO.Buffer fileuserdata(long value)
      Sets the specified value to the fileuserdata field.
    • filebuffersize

      public FMOD_CREATESOUNDEXINFO.Buffer filebuffersize(int value)
      Sets the specified value to the filebuffersize field.
    • channelorder

      public FMOD_CREATESOUNDEXINFO.Buffer channelorder(int value)
      Sets the specified value to the channelorder field.
    • initialsoundgroup

      public FMOD_CREATESOUNDEXINFO.Buffer initialsoundgroup(long value)
      Sets the specified value to the initialsoundgroup field.
    • initialseekposition

      public FMOD_CREATESOUNDEXINFO.Buffer initialseekposition(int value)
      Sets the specified value to the initialseekposition field.
    • initialseekpostype

      public FMOD_CREATESOUNDEXINFO.Buffer initialseekpostype(int value)
      Sets the specified value to the initialseekpostype field.
    • ignoresetfilesystem

      public FMOD_CREATESOUNDEXINFO.Buffer ignoresetfilesystem(int value)
      Sets the specified value to the ignoresetfilesystem field.
    • audioqueuepolicy

      public FMOD_CREATESOUNDEXINFO.Buffer audioqueuepolicy(int value)
      Sets the specified value to the audioqueuepolicy field.
    • minmidigranularity

      public FMOD_CREATESOUNDEXINFO.Buffer minmidigranularity(int value)
      Sets the specified value to the minmidigranularity field.
    • nonblockthreadid

      public FMOD_CREATESOUNDEXINFO.Buffer nonblockthreadid(int value)
      Sets the specified value to the nonblockthreadid field.
    • fsbguid

      public FMOD_CREATESOUNDEXINFO.Buffer fsbguid(@Nullable FMOD_GUID value)
      Sets the address of the specified FMOD_GUID to the fsbguid field.