Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

AudioSystem

Tim Neumann edited this page Aug 9, 2018 · 2 revisions

The audio system is our abstraction layer from the system audio.

Every audio input and audio output should go through it. Manually using java DataLines or Clips will break the Docker Container.

The main interface is AudioManager.

It is very important, that any AudioInputStream obtained by AudioManager.getInputStreamOfAudioEnvironment() is read with appropriate speed and is closed when not needed anymore.