मुख्य कंटेंट तक स्किप करें

Class: SoundPlayer

This page documents the methods and fields available in the SoundPlayer class.

Members

SignatureDescription
getDiameter()Returns the current diameter.
getLoadMode()Returns the current load mode.
getMode()Returns the current mode.
getPitch()Returns the current pitch.
getSpeed()Returns the current speed.
getVolume()Returns the current volume.
isLoop()Returns whether loop is true.
isPaused()Returns whether paused is true.
isPlaying()Returns whether playing is true.
isStopped()Returns whether stopped is true.
pause()Performs the pause operation.
play()Performs the play operation.
setDiameter(float)Sets or updates the diameter.
setLoadMode(LoadMode)Sets or updates the load mode.
setLoop(boolean)Sets or updates the loop.
setMode(Mode)Sets or updates the mode.
setPitch(float)Sets or updates the pitch.
setSoundFile(File)Sets or updates the sound file.
setSoundFile(SoundFile)Sets or updates the sound file.
setSpeed(float)Sets or updates the speed.
setVolume(float)Sets or updates the volume.
stop()Performs the stop operation.
unPause()Performs the unPause operation.