Package com.raylib

Class Raylib.Sound

java.lang.Object
org.bytedeco.javacpp.Pointer
com.raylib.Raylib.Sound
All Implemented Interfaces:
AutoCloseable
Enclosing class:
Raylib

public static class Raylib.Sound extends org.bytedeco.javacpp.Pointer
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer

    org.bytedeco.javacpp.Pointer.CustomDeallocator, org.bytedeco.javacpp.Pointer.Deallocator, org.bytedeco.javacpp.Pointer.NativeDeallocator, org.bytedeco.javacpp.Pointer.ReferenceCounter
  • Field Summary

    Fields inherited from class org.bytedeco.javacpp.Pointer

    address, capacity, limit, position
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default native constructor.
    Sound​(long size)
    Native array allocator.
    Sound​(org.bytedeco.javacpp.Pointer p)
    Pointer cast constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    frameCount​(int setter)
     
    getPointer​(long i)
     
    position​(long position)
     
     
     

    Methods inherited from class org.bytedeco.javacpp.Pointer

    address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Sound

      public Sound()
      Default native constructor.
    • Sound

      public Sound(long size)
      Native array allocator. Access with Pointer.position(long).
    • Sound

      public Sound(org.bytedeco.javacpp.Pointer p)
      Pointer cast constructor. Invokes Pointer(Pointer).
  • Method Details

    • position

      public Raylib.Sound position(long position)
      Overrides:
      position in class org.bytedeco.javacpp.Pointer
    • getPointer

      public Raylib.Sound getPointer(long i)
      Overrides:
      getPointer in class org.bytedeco.javacpp.Pointer
    • stream

      @ByRef public Raylib.AudioStream stream()
    • stream

      public Raylib.Sound stream(Raylib.AudioStream setter)
    • frameCount

      @Cast("unsigned int") public int frameCount()
    • frameCount

      public Raylib.Sound frameCount(int setter)