com.mle.audio

javasound

package javasound

Visibility
  1. Public
  2. All

Type Members

  1. class BasicJavaSoundPlayer extends JavaSoundPlayer with SourceClosing

  2. class FileJavaSoundPlayer extends BasicJavaSoundPlayer

    Use for audio files.

    Use for audio files. Since this constructor opens an InputStream, trait SourceClosing is mixed in so that when this player is closed, so is the InputStream.

  3. class JavaSoundPlayer extends IPlayer with JavaSoundPlayerBase with StateAwarePlayer with AutoCloseable with Log

    A music player.

    A music player. Plays one media source. To change source, for example to change track, create a new player.

    The user needs to provide the media length and size to enable seek functionality. Seeking streams which cannot be reopened is only supported if InputStream.markSupported() of media.stream is true, and even then the support is buggy. markSupported() is true at least for java.io.BufferedInputStreams.

    The stream provided in media is not by default closed when the player is closed, but if you wish to do so, subclass this player and override close() accordingly or mix in trait SourceClosing.

    See also

    UriJavaSoundPlayer

    FileJavaSoundPlayer

  4. trait JavaSoundPlayerBase extends RichPlayer with Seekable with Log

  5. class LineData extends Log

  6. trait Seekable extends Log

  7. trait SourceClosing extends JavaSoundPlayer

    Mix this in to JavaSoundPlayers when you want to close the audio stream when the player is closed.

    Mix this in to JavaSoundPlayers when you want to close the audio stream when the player is closed. Whether you want to do that depends on who creates the stream.

  8. class UriJavaSoundPlayer extends BasicJavaSoundPlayer with SourceClosing

Value Members

  1. object BasicJavaSoundPlayer

  2. object JavaSoundPlayer

  3. object LineData

Ungrouped