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 Sound
Sound.allocateArray
(long elementCount) Allocate an array of Soundstatic Sound
Sound.allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of SoundSound.getArrayElement
(int index) static Sound
Load sound from filestatic Sound
Load sound from filestatic Sound
Raylib.loadSoundAlias
(Sound source) Create a new sound that shares the same sample data as the source sound, does not own the sound datastatic Sound
Raylib.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 Sound
Raylib.loadSoundFromWave
(Wave wave) Load sound from wave datastatic Sound
Raylib.loadSoundFromWave
(Arena arena, Wave wave) Load sound from wave dataSound.setFrameCount
(int value) Total number of frames (considering channels)Sound.setStream
(AudioStream value) Audio streamMethods in com.raylib with parameters of type SoundModifier and TypeMethodDescriptionstatic boolean
Raylib.isSoundPlaying
(Sound sound) Check if a sound is currently playingstatic boolean
Raylib.isSoundReady
(Sound sound) Checks if a sound is readystatic Sound
Raylib.loadSoundAlias
(Sound source) Create a new sound that shares the same sample data as the source sound, does not own the sound datastatic Sound
Raylib.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 void
Raylib.pauseSound
(Sound sound) Pause a soundstatic void
Play a soundstatic void
Raylib.resumeSound
(Sound sound) Resume a paused soundstatic void
Raylib.setSoundPan
(Sound sound, float pan) Set pan for a sound (0.5 is center)static void
Raylib.setSoundPitch
(Sound sound, float pitch) Set pitch for a sound (1.0 is base level)static void
Raylib.setSoundVolume
(Sound sound, float volume) Set volume for a sound (1.0 is max level)static void
Stop playing a soundstatic void
Raylib.unloadSound
(Sound sound) Unload soundstatic void
Raylib.unloadSoundAlias
(Sound alias) Unload a sound alias (does not deallocate sample data)static void
Raylib.updateSound
(Sound sound, MemorySegment data, int sampleCount) Update sound buffer with new data