Uses of Class
com.raylib.Sound
Packages that use Sound
-
Uses of Sound in com.raylib
Methods in com.raylib that return SoundModifier and TypeMethodDescriptionstatic SoundSound.allocateArray(long elementCount) Allocate an array of Soundstatic SoundSound.allocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of SoundSound.frameCount(int value) Total number of frames (considering channels)Sound.getArrayElement(int index) static SoundLoad sound from filestatic SoundLoad sound from filestatic SoundRaylib.loadSoundAlias(Sound source) Create a new sound that shares the same sample data as the source sound, does not own the sound datastatic SoundRaylib.loadSoundAlias(Arena arena, Sound source) Create a new sound that shares the same sample data as the source sound, does not own the sound datastatic SoundRaylib.loadSoundFromWave(Wave wave) Load sound from wave datastatic SoundRaylib.loadSoundFromWave(Arena arena, Wave wave) Load sound from wave dataSound.stream(AudioStream value) Audio streamMethods in com.raylib with parameters of type SoundModifier and TypeMethodDescriptionstatic booleanRaylib.isSoundPlaying(Sound sound) Check if a sound is currently playingstatic booleanRaylib.isSoundValid(Sound sound) Checks if a sound is valid (data loaded and buffers initialized)static SoundRaylib.loadSoundAlias(Sound source) Create a new sound that shares the same sample data as the source sound, does not own the sound datastatic SoundRaylib.loadSoundAlias(Arena arena, Sound source) Create a new sound that shares the same sample data as the source sound, does not own the sound datastatic voidRaylib.pauseSound(Sound sound) Pause a soundstatic voidPlay a soundstatic voidRaylib.resumeSound(Sound sound) Resume a paused soundstatic voidRaylib.setSoundPan(Sound sound, float pan) Set pan for a sound (0.5 is center)static voidRaylib.setSoundPitch(Sound sound, float pitch) Set pitch for a sound (1.0 is base level)static voidRaylib.setSoundVolume(Sound sound, float volume) Set volume for a sound (1.0 is max level)static voidStop playing a soundstatic voidRaylib.unloadSound(Sound sound) Unload soundstatic voidRaylib.unloadSoundAlias(Sound alias) Unload a sound alias (does not deallocate sample data)static voidRaylib.updateSound(Sound sound, MemorySegment data, int sampleCount) Update sound buffer with new data