Uses of Class
com.xebisco.yield.AudioPlayer
Packages that use AudioPlayer
-
Uses of AudioPlayer in com.xebisco.yield
Methods in com.xebisco.yield that return AudioPlayerModifier and TypeMethodDescriptionAudioPlayer.setAudioClip(FileInput audioClip) This function sets the audio clip and unloads any previous audio clip if it exists.AudioPlayer.setClipRef(Object clipRef) This function sets the value of the clipRef variable.AudioPlayer.setPan(double pan) This function sets the pan of an audio object and throws an exception if the pan is not within the valid range.AudioPlayer.setPosition(double position) This function sets the position of the audio player using the application's audio manager. -
Uses of AudioPlayer in com.xebisco.yield.manager
Methods in com.xebisco.yield.manager with parameters of type AudioPlayerModifier and TypeMethodDescriptiondoubleAudioManager.getLength(AudioPlayer audioPlayer) The function "getLength" takes an AudioPlayer object as input and returns its length as a double.doubleAudioManager.getPosition(AudioPlayer audioPlayer) The function returns the current position of an audio player.booleanAudioManager.isPlaying(AudioPlayer audioPlayer) The function checks if an audio player is currently playing.AudioManager.loadAudio(AudioPlayer audio, FileIOManager ioManager) This function loads an audio file.voidAudioManager.loop(AudioPlayer audioPlayer) voidAudioManager.pause(AudioPlayer audioPlayer) This function takes an AudioPlayer object as input and pauses it.voidAudioManager.play(AudioPlayer audioPlayer) The function "play" plays an audio clip from an AudioPlayer object.voidAudioManager.setGain(AudioPlayer audioPlayer, double gain) The function sets the gain of an audio player.voidAudioManager.setPan(AudioPlayer audioPlayer, double pan) The setPan function sets the stereo panning of an audio player.voidAudioManager.setPosition(AudioPlayer audioPlayer, double position) The function sets the position of an audio player.voidAudioManager.unloadAudio(AudioPlayer audio, FileIOManager ioManager) The function unloads an audio clip from an audio player.