Hi,
I’m using RPi3 with openHABian.
I’m able to play mp3 files on OS-System console (mpg321).
I’ve configured:
the Audio in the Paper UI: “System Speaker (with mp3 support)”.
I’ve checked on the karaf console:
openhab> smarthome:audio sinks
enhancedjavasound
javasound
webaudio
and
openhab> smarthome:voice voices
marytts:bits3hsmm bits3-hsmm - German
marytts:bits1hsmm bits1-hsmm - German
marytts:cmuslthsmm cmu-slt-hsmm - English (United States)
Here comes the problem:
If I try to play an mp3 file on the karaf-console:
openhab> smarthome:audio play doorbell.mp3
This results to the log:
2017-05-09 08:14:11.159 [ERROR] [.internal.EnhancedJavaSoundAudioSink] - An exception occurred while playing audio : 'Cannot create AudioDevice'
If I try to TTS on the karaf-console:
openhab> smarthome:voice say Hello world!
This results to the log:
2017-05-09 08:12:00.762 [WARN ] [me.io.javasound.internal.AudioPlayer] - No line found: No line matching interface SourceDataLine supporting format PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2 bytes/frame, 8000.0 frames/second, little-endian is supported.
2017-05-09 08:12:00.764 [INFO ] [me.io.javasound.internal.AudioPlayer] - Available lines are:
… it seems that no line is available
I restarted the sytem multiple times, tried stable and unstable build of openhab.
so I’m helpless and looking for any support