AudioPlayer

eu.joaocosta.minart.audio.AudioPlayer$
See theAudioPlayer companion trait

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

case class Settings(sampleRate: Int, bufferSize: Int)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def create(settings: Settings)(implicit backend: DefaultBackend[Any, LowLevelAudioPlayer]): AudioPlayer

Returns a new AudioPlayer for the default backend for the target platform.

Returns a new AudioPlayer for the default backend for the target platform.

Attributes

settings

settings for this audio player, such as the sample rate and buffer size

Returns:

AudioPlayer using the default backend for the target platform