Class AudioSinkSync

java.lang.Object
org.openhab.core.audio.AudioSinkSync
All Implemented Interfaces:
AudioSink

@NonNullByDefault public abstract class AudioSinkSync extends Object implements AudioSink
Definition of an audio output like headphones, a speaker or for writing to a file / clip. Helper class for synchronous sink : when the process() method returns, the source is considered played, and could be disposed. Any delayed tasks can then be performed, such as volume restoration.
Author:
Gwendal Roulleau - Initial contribution