[Solved] No HDMI audio via extractor without display - Raspberry Pi Forums


hello all,

in application raspi embedded device. uses bluetooth take incoming audio stream, wifi control connection, splits audio stream, puts 1 stream analog amplifier , second stream used internally drive magnets.

well, first used 3.5mm audio out headphone jack on raspi drive amplifier, quality poor (as many noticed already). read in forums , found 2 alternatives:
a) usb sound card
b) using audio extractor drive amplifier (which needs analog stereo input signal)

since max out usb interface wifi , bluetooth decided use hdmi output. bought hdmi audio extractor , cabled up. after day of tinkering go far:

* when connect computer monitor (without speakers) hdmi out of extractor, connect extractor raspi, configure alsa , pulse properly, tweak /boot/config.txt, crystal clear, loud audio speakers. , magnets driven.
* moment disconnect monitor hdmi out of extractor, audio goes silent. comes back, when reconnect monitor.

not enough me, should embedded , run without monitor. have make raspi put audio out hdmi if there no monitor, audio extractor, connected hdmi output?

here tried already:
* /boot/config.txt:
hdmi_drive=2
hdmi_force_hotplug=1
hdmi_edid_file=1

* made dump of edit config while audio working , saved /boot/edid.dat, hoping working config forced onto raspi

* changed audio devices hdmi in pulse, alsa, bluetooth

can make raspi stream hdmi audio if extractor plugged hdmi port , no monitor connected?

lot
helmut

in meantime tried hello_audio:

root@raspberrypi:/opt/vc/src/hello_pi/hello_audio# /opt/vc/src/hello_pi/hello_audio/hello_audio.bin 1
outputting audio hdmi
hello_audio.bin: audio.c:120: audioplay_create: assertion `error == omx_errornone' failed.
aborted

, got error. ideas do?

addendum: same error when try use analog output:

root@raspberrypi:/opt/vc/src/hello_pi/hello_audio# /opt/vc/src/hello_pi/hello_audio/hello_audio.bin 0
outputting audio analogue
hello_audio.bin: audio.c:120: audioplay_create: assertion `error == omx_errornone' failed.
aborted


raspberrypi



Comments