A C D E F G H I J L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addAudioDevicesListener(AudioDevicesListener) - Static method in class com.tagtraum.audioplayer4j.AudioDevices
-
Add a listener.
- addAudioPlayerListener(AudioPlayerListener) - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Add an
AudioPlayerListener
. - addAudioPlayerListener(AudioPlayerListener) - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- addAudioPlayerListener(AudioPlayerListener) - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- addAudioPlayerListener(AudioPlayerListener) - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- addPropertyChangeListener(PropertyChangeListener) - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Add a property change listener.
- addPropertyChangeListener(PropertyChangeListener) - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- addPropertyChangeListener(PropertyChangeListener) - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- addPropertyChangeListener(PropertyChangeListener) - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- addPropertyChangeListener(String, PropertyChangeListener) - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Add a property change listener for a given property.
- addPropertyChangeListener(String, PropertyChangeListener) - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- addPropertyChangeListener(String, PropertyChangeListener) - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- addPropertyChangeListener(String, PropertyChangeListener) - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- AudioDevice - Interface in com.tagtraum.audioplayer4j
-
Represents an installed audio device.
- AudioDevices - Class in com.tagtraum.audioplayer4j
-
Describes the audio devices installed on your system.
- AudioDevicesListener - Interface in com.tagtraum.audioplayer4j
-
AudioDevice listener.
- AudioPlayer - Interface in com.tagtraum.audioplayer4j
-
Audio player.
The easiest way to start playing audio is: - AudioPlayerException - Exception in com.tagtraum.audioplayer4j
-
Runtime player exception.
- AudioPlayerException(Throwable) - Constructor for exception com.tagtraum.audioplayer4j.AudioPlayerException
-
Runtime player exception with underlying cause.
- AudioPlayerFactory - Class in com.tagtraum.audioplayer4j
-
Factory for
AudioPlayer
instances. - AudioPlayerListener - Interface in com.tagtraum.audioplayer4j
-
Listener for
AudioPlayer
start and finish events. - AVFoundationPlayer - Class in com.tagtraum.audioplayer4j.macos
-
Natively-backed audio player for macOS.
- AVFoundationPlayer() - Constructor for class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
-
Create an instance using a private new execution thread and a private
Cleaner
instance. - AVFoundationPlayer(Cleaner) - Constructor for class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
-
Create an instance using a private new execution thread.
- AVFoundationPlayer(ExecutorService, Cleaner) - Constructor for class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
-
Create an instance using the specified serializer and cleaner instances.
C
- close() - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
- close() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- close() - Method in class com.tagtraum.audioplayer4j.java.SingleThreadedAudioInputStream
- close() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- close() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
-
Close this player and free all native resources connected to it.
- com.tagtraum.audioplayer4j - package com.tagtraum.audioplayer4j
-
Simple (non-visual) audio player.
D
- DEFAULT_MIN_TIME_EVENT_DIFFERENCE - Static variable in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Default minimum delay in ms between "time" property events.
- DefaultAudioDevice - Class in com.tagtraum.audioplayer4j.device
-
Default AudioDevice.
- deviceChanged(AudioDevice[], AudioDevice[]) - Method in interface com.tagtraum.audioplayer4j.AudioDevicesListener
-
Is called, whenever
AudioDevice
s are added or removed.
E
- equals(Object) - Method in class com.tagtraum.audioplayer4j.device.DefaultAudioDevice
- equals(Object) - Method in class com.tagtraum.audioplayer4j.device.MixerAudioDevice
- ExtAudioSystem - Class in com.tagtraum.audioplayer4j.java
-
Wrapper around some
AudioSystem
methods in order to influence the order in which SPIs are used.
F
- finished(AudioPlayer, URI, boolean) - Method in interface com.tagtraum.audioplayer4j.AudioPlayerListener
-
Playback of an audio resource has ended.
G
- gainToVolume(float) - Static method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Convert dB gain to linear volume in the range 0.0-1.0.
- getAudioDevice() - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Current audio device.
- getAudioDevice() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- getAudioDevice() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- getAudioDevice() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- getAudioDevices() - Static method in class com.tagtraum.audioplayer4j.AudioDevices
-
List audio devices installed on the system.
- getAudioFileFormat(URL) - Static method in class com.tagtraum.audioplayer4j.java.ExtAudioSystem
-
Obtains the audio file format of the specified URL.
- getAudioInputStream(URL, int) - Static method in class com.tagtraum.audioplayer4j.java.ExtAudioSystem
-
Obtains an audio input stream from the URL provided.
- getAudioInputStream(AudioFormat, AudioInputStream) - Static method in class com.tagtraum.audioplayer4j.java.ExtAudioSystem
-
Obtains an audio input stream of the indicated format, by converting the provided audio input stream.
- getDuration() - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Get duration of the loaded resource.
- getDuration() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- getDuration() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- getDuration() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
-
Get duration.
- getEffectiveVolume() - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Effective volume after application of gain (mute is ignored).
- getEffectiveVolume() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- getEffectiveVolume() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- getEffectiveVolume() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- getFrameNumber() - Method in class com.tagtraum.audioplayer4j.java.SingleThreadedAudioInputStream
- getGain() - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Get the currently set gain (in dB).
- getGain() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- getGain() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- getGain() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- getInstance() - Static method in class com.tagtraum.audioplayer4j.device.DefaultAudioDevice
- getLine(Line.Info) - Method in interface com.tagtraum.audioplayer4j.AudioDevice
-
Get a line from this device using the given
Line.Info
. - getLine(Line.Info) - Method in class com.tagtraum.audioplayer4j.device.DefaultAudioDevice
- getLine(Line.Info) - Method in class com.tagtraum.audioplayer4j.device.MixerAudioDevice
- getMinTimeEventDifference() - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Minimum delay in ms between "time" property events.
- getMinTimeEventDifference() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- getMinTimeEventDifference() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- getMinTimeEventDifference() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- getMixer() - Method in interface com.tagtraum.audioplayer4j.AudioDevice
-
Obtain a
Mixer
from this device. - getMixer() - Method in class com.tagtraum.audioplayer4j.device.DefaultAudioDevice
- getMixer() - Method in class com.tagtraum.audioplayer4j.device.MixerAudioDevice
- getName() - Method in interface com.tagtraum.audioplayer4j.AudioDevice
-
Device name.
- getName() - Method in class com.tagtraum.audioplayer4j.device.DefaultAudioDevice
- getName() - Method in class com.tagtraum.audioplayer4j.device.MixerAudioDevice
- getTime() - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Get current time.
- getTime() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- getTime() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- getTime() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
-
Get current time.
- getURI() - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
URI of the audio resource to be played.
- getURI() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- getURI() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- getURI() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
-
URI of the currently loaded resource.
- getVolume() - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Get volume on a linear scale of 0.0-1.0.
- getVolume() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- getVolume() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- getVolume() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
H
- hashCode() - Method in class com.tagtraum.audioplayer4j.device.DefaultAudioDevice
- hashCode() - Method in class com.tagtraum.audioplayer4j.device.MixerAudioDevice
I
- invokeAndWait(Callable<T>) - Static method in class com.tagtraum.audioplayer4j.javafx.JavaFXUtilities
- invokeLater(Runnable) - Static method in class com.tagtraum.audioplayer4j.javafx.JavaFXUtilities
- isDefault() - Method in interface com.tagtraum.audioplayer4j.AudioDevice
-
Is this the system's default device?
- isDefault() - Method in class com.tagtraum.audioplayer4j.device.DefaultAudioDevice
- isDefault() - Method in class com.tagtraum.audioplayer4j.device.MixerAudioDevice
- isJavaEnabled() - Static method in class com.tagtraum.audioplayer4j.AudioPlayerFactory
-
Indicates whether a Java-based implementation is enabled.
- isJavaFXEnabled() - Static method in class com.tagtraum.audioplayer4j.AudioPlayerFactory
-
Indicates whether a JavaFX-based implementation is enabled.
- isMuted() - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Indicates whether this player is currently muted
- isMuted() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- isMuted() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- isMuted() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- isNativeEnabled() - Static method in class com.tagtraum.audioplayer4j.AudioPlayerFactory
-
Indicates whether a native implementation is enabled.
- isPaused() - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Indicates whether the player is the paused state, i.e.
- isPaused() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- isPaused() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- isPaused() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
-
Paused or not.
- isSeekable() - Method in class com.tagtraum.audioplayer4j.java.SingleThreadedAudioInputStream
- isWatching() - Static method in class com.tagtraum.audioplayer4j.AudioDevices
-
Indicates whether the class is periodically watching for changes.
J
- JavaFXPlayer - Class in com.tagtraum.audioplayer4j.javafx
-
Plays an audio resource using JavaFX APIs.
- JavaFXPlayer() - Constructor for class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- JavaFXUtilities - Class in com.tagtraum.audioplayer4j.javafx
-
Provides some utility methods to use JavaFX from a "regular" Java application.
- JavaFXUtilities() - Constructor for class com.tagtraum.audioplayer4j.javafx.JavaFXUtilities
- JavaPlayer - Class in com.tagtraum.audioplayer4j.java
-
Plays an audio resource using standard Java APIs.
- JavaPlayer() - Constructor for class com.tagtraum.audioplayer4j.java.JavaPlayer
-
Create an instance using a private
Cleaner
instance. - JavaPlayer(Cleaner) - Constructor for class com.tagtraum.audioplayer4j.java.JavaPlayer
-
Create an instance using the specified cleaner instance.
L
- loadLibrary() - Static method in class com.tagtraum.audioplayer4j.macos.NativeLibraryLoader
-
Loads the native library.
- loadLibrary(String) - Static method in class com.tagtraum.audioplayer4j.macos.NativeLibraryLoader
-
Loads a library.
- loadLibrary(String, Class<?>) - Static method in class com.tagtraum.audioplayer4j.macos.NativeLibraryLoader
-
Loads a library.
M
- MixerAudioDevice - Class in com.tagtraum.audioplayer4j.device
-
Generic,
Mixer
-based AudioDevice. - MixerAudioDevice(Mixer) - Constructor for class com.tagtraum.audioplayer4j.device.MixerAudioDevice
N
- NativeLibraryLoader - Class in com.tagtraum.audioplayer4j.macos
-
Loader for the native libraries.
O
- open(URI) - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Opens the audio resource with the given URI.
- open(URI) - Static method in class com.tagtraum.audioplayer4j.AudioPlayerFactory
-
Opens an
AudioPlayer
instance suitable for the given URI using the default audio device for playback. - open(URI) - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- open(URI) - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- open(URI) - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
-
Open the given URI and prepare for playback.
- open(URI, AudioDevice) - Static method in class com.tagtraum.audioplayer4j.AudioPlayerFactory
-
Opens an
AudioPlayer
instance suitable for the given URI using the given audio device for playback.
P
- pause() - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Pause playback of the loaded resource.
- pause() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- pause() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- pause() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
-
Pause playback.
- play() - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Start playback of the loaded resource.
- play() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- play() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- play() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
-
Start playback of the loaded resource.
- play(URI) - Static method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Load and start playback of the given resource.
- playPause() - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Toggle playback, i.e.
- playPause() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- playPause() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- playPause() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
-
Toggle playback (play/pause).
R
- read(byte[]) - Method in class com.tagtraum.audioplayer4j.java.SingleThreadedAudioInputStream
-
Attempt to fill the provided byte buffer.
- removeAudioDevicesListener(AudioDevicesListener) - Static method in class com.tagtraum.audioplayer4j.AudioDevices
-
Removed a listener
- removeAudioPlayerListener(AudioPlayerListener) - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Remove an
AudioPlayerListener
. - removeAudioPlayerListener(AudioPlayerListener) - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- removeAudioPlayerListener(AudioPlayerListener) - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- removeAudioPlayerListener(AudioPlayerListener) - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- removePropertyChangeListener(PropertyChangeListener) - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Remove a property change listener.
- removePropertyChangeListener(PropertyChangeListener) - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- removePropertyChangeListener(PropertyChangeListener) - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- removePropertyChangeListener(PropertyChangeListener) - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- removePropertyChangeListener(String, PropertyChangeListener) - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Remove a property change listener for a given property.
- removePropertyChangeListener(String, PropertyChangeListener) - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- removePropertyChangeListener(String, PropertyChangeListener) - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- removePropertyChangeListener(String, PropertyChangeListener) - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- reset() - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Reset playback to the beginning of the resource.
- reset() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- reset() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- reset() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
-
Reset playback to the beginning of the resource.
S
- seek(Duration) - Method in class com.tagtraum.audioplayer4j.java.SingleThreadedAudioInputStream
- setAudioDevice(AudioDevice) - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Sets the desired audio device.
- setAudioDevice(AudioDevice) - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- setAudioDevice(AudioDevice) - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- setAudioDevice(AudioDevice) - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- setBufferSizeInSeconds(float) - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
-
Buffer size.
- setGain(float) - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Sets the gain.
- setGain(float) - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- setGain(float) - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- setGain(float) - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- setJavaEnabled(boolean) - Static method in class com.tagtraum.audioplayer4j.AudioPlayerFactory
-
Enables/disables the Java-based implementation.
- setJavaFXEnabled(boolean) - Static method in class com.tagtraum.audioplayer4j.AudioPlayerFactory
-
Enables/disables the JavaFX-based implementation (if available at all).
- setMinTimeEventDifference(int) - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Minimum delay in ms between "time" property events.
- setMinTimeEventDifference(int) - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- setMinTimeEventDifference(int) - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- setMinTimeEventDifference(int) - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- setMuted(boolean) - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Turns muting on or off.
- setMuted(boolean) - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- setMuted(boolean) - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- setMuted(boolean) - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- setNativeEnabled(boolean) - Static method in class com.tagtraum.audioplayer4j.AudioPlayerFactory
-
Enables/disables the native implementation (if available at all).
- setTime(Duration) - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Ask the player to seek the desired time.
- setTime(Duration) - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- setTime(Duration) - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- setTime(Duration) - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
-
Seek the given time.
- setVolume(float) - Method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Set volume on a linear scale of 0.0-1.0.
- setVolume(float) - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- setVolume(float) - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- setVolume(float) - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
- SingleThreadedAudioInputStream - Class in com.tagtraum.audioplayer4j.java
-
Ensure single-threaded access to a wrapped
AudioInputStream
. - SingleThreadedAudioInputStream(URL, AudioFormat) - Constructor for class com.tagtraum.audioplayer4j.java.SingleThreadedAudioInputStream
- started(AudioPlayer, URI) - Method in interface com.tagtraum.audioplayer4j.AudioPlayerListener
-
Playback of an audio resource has started.
T
- tagtraum.audioplayer4j - module tagtraum.audioplayer4j
-
Java audio player.
- toString() - Method in class com.tagtraum.audioplayer4j.device.DefaultAudioDevice
- toString() - Method in class com.tagtraum.audioplayer4j.device.MixerAudioDevice
- toString() - Method in class com.tagtraum.audioplayer4j.java.JavaPlayer
- toString() - Method in class com.tagtraum.audioplayer4j.java.SingleThreadedAudioInputStream
- toString() - Method in class com.tagtraum.audioplayer4j.javafx.JavaFXPlayer
- toString() - Method in class com.tagtraum.audioplayer4j.macos.AVFoundationPlayer
U
- unread(byte[], int, int) - Method in class com.tagtraum.audioplayer4j.java.SingleThreadedAudioInputStream
-
Push data back into the stream.
V
- VERSION - Static variable in class com.tagtraum.audioplayer4j.macos.NativeLibraryLoader
- volumeToGain(float) - Static method in interface com.tagtraum.audioplayer4j.AudioPlayer
-
Convert linear volume to dB gain.
All Classes All Packages