Uses of Class
org.openhab.core.audio.AudioException
-
Uses of AudioException in org.openhab.core.audio
Modifier and TypeClassDescriptionclass
Thrown when a requested format is not supported by anAudioSource
orAudioSink
implementationclass
Modifier and TypeMethodDescriptionClonableAudioStream.getClonedStream()
Returns a new, fully independent stream instance, which can be read and closed without impacting the original instance.FileAudioStream.getClonedStream()
URLAudioStream.getClonedStream()
AudioSource.getInputStream
(AudioFormat format) Gets an AudioStream for reading audio data in supported audio formatvoid
Plays an audio file from the "sounds" folder using the default audio sink.void
Plays an audio file from the "sounds" folder using the given audio sink.void
AudioManager.playFile
(String fileName, @Nullable String sinkId, @Nullable PercentType volume) Plays an audio file with the given volume from the "sounds" folder using the given audio sink.void
AudioManager.playFile
(String fileName, @Nullable PercentType volume) Plays an audio file with the given volume from the "sounds" folder using the default audio sink.void
Stream audio from the passed url using the default audio sink.void
Stream audio from the passed url to the given sinkModifierConstructorDescriptionFileAudioStream
(File file) FileAudioStream
(File file, AudioFormat format) FileAudioStream
(File file, AudioFormat format, boolean isTemporaryFile) URLAudioStream
(String url)