tml3nr
Moderator
Em có rình TC của dev shawaj trong balena nhưng chưa thấy cái này. Hay quá anh nhỉ @@Đúng vậy anh, bridge sang ouput khác Ok. PulseAudio Server.
Không biết anh xem cái script này chưa? Là cách Belena làm, họ làm TC bridge từ Alsa sang PulseAudio.
https://raw.githubusercontent.com/balenablocks/audio/master/scripts/alsa-bridge/debian-setup.sh
https://github.com/balenalabs/balen...cb580fbfaca/plugins/tidal/Dockerfile.template
Hiện tại chung quanh TC có quá nhiều hướng để mò: Set kernel sao cho âm thanh hay, test các loại output, phối hợp với các services khác...
Riêng về việc liên kết volume với alsa mixer. Em thấy có vài manh mối. Hiện tại nếu như mình dùng sound có mixer "Analogue". Set như bài bên dưới sẽ sync được volume của app và alsa:
https://www.raspberrypi.org/forums/...482274aa433a29918b7a8ab37b0&start=25#p1835793
asifjahmed đã viết:Hey Everyone!
I got this working nicely on the RPi 4 so I figured I would share my learnings here for others:
-DietPi was the platform of choice for me, default install is fine except you also have to install avahi-daemon
-Once I got Tidal connect itself working, I didn't have any volume control. I learned that the "speaker_controller"application" needs to be running in order for that part to work. In order to have this run in the background (and at startup) like the underlying tidal connect service, I created a new service description:
Mã:[Unit] Description=Speaker Controller After=ifi-streamer-tidal-connect.service [Service] Type=forking Restart=on-failure RestartSec=3 ExecStart=/usr/bin/screen -L -dmS root /usr/ifi/ifi-tidal-release/bin/speaker_controller_application [Install] WantedBy=multi-user.target
Create that file in /etc/systemd/system/, chmod+x it, and enable it via systemctl in order to have it start up after tidal connect, at startup. Works great!