defaultSoundPlayer

Platform factory for the default SoundPlayer.

Implemented per target:

  • jvm: real javax.sound.sampled tone synth (audible on desktop).

  • android: SoundPool + Vibrator (needs a Context — see the Android actual).

  • ios: AVAudioPlayer + UIImpactFeedbackGenerator.

  • wasm: Web Audio oscillator, or a no-op if AudioContext is unavailable.

Platform factory for the default SoundPlayer.

Implemented per target:

  • jvm: real javax.sound.sampled tone synth (audible on desktop).

  • android: SoundPool + Vibrator (needs a Context — see the Android actual).

  • ios: AVAudioPlayer + UIImpactFeedbackGenerator.

  • wasm: Web Audio oscillator, or a no-op if AudioContext is unavailable.

Platform factory for the default SoundPlayer.

Implemented per target:

  • jvm: real javax.sound.sampled tone synth (audible on desktop).

  • android: SoundPool + Vibrator (needs a Context — see the Android actual).

  • ios: AVAudioPlayer + UIImpactFeedbackGenerator.

  • wasm: Web Audio oscillator, or a no-op if AudioContext is unavailable.

Platform factory for the default SoundPlayer.

Implemented per target:

  • jvm: real javax.sound.sampled tone synth (audible on desktop).

  • android: SoundPool + Vibrator (needs a Context — see the Android actual).

  • ios: AVAudioPlayer + UIImpactFeedbackGenerator.

  • wasm: Web Audio oscillator, or a no-op if AudioContext is unavailable.

Platform factory for the default SoundPlayer.

Implemented per target:

  • jvm: real javax.sound.sampled tone synth (audible on desktop).

  • android: SoundPool + Vibrator (needs a Context — see the Android actual).

  • ios: AVAudioPlayer + UIImpactFeedbackGenerator.

  • wasm: Web Audio oscillator, or a no-op if AudioContext is unavailable.