Hello,
I need some help on my mostly-working system. I have a raspberry pi 4 with hifiberry digi-pro hat connected to an external dac. System is debian bullseye with kernel from raspberry pi OS 5.15.32-v8+. Mediacenter27 is of version 27.0.88-arm64.
At the moment, mediacenter is working fabulous, using sound card option hw: which is direct ALSA with no software conversion. I am trying to use pulseaudio, to enable bluetooth and airplay (via shairport-sync). The direct ALSA option tends to grab full control on the sound card and do not let it be used by those other options...
I can connect my phone using bluetooth and play music through pulseaudio, so pulseaudio is working fine too. The last piece of the puzzle is to make mediacenter use sound card option pulse:, but if I use that option I get no sound output, and syslog says "mediacenter27: ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused".
Could you give me some pointers what to look for in order to make mediacenter and pulseaudio cowork nicely? Thanks!