AudioPlayer

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

Attributes

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

Members list

Type members

Classlikes

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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def create(settings: Settings)(using 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.

Value parameters

settings

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

Attributes

Returns

AudioPlayer using the default backend for the target platform