Nie wiem co robię źle, prześledziłem instrukcję na githubie, wydobyłem nazwę mojego DAC'a, dodałem ją i uruchomilem serwis. Bez efektu.
Status ifi-tidal-streamer mam następujący:
● ifi-streamer-tidal-connect.service - RasPi Streamer Tidal Connect Service
Loaded: loaded (/lib/systemd/system/ifi-streamer-tidal-connect.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2021-02-11 23:55:22 CET; 25min ago
Main PID: 353 (tidal_connect_a)
Tasks: 16 (limit: 4323)
CGroup: /system.slice/ifi-streamer-tidal-connect.service
└─353 /usr/ifi/ifi-tidal-release/bin/tidal_connect_application --tc-certificate-path /usr/ifi/ifi-tidal-release/id_certificate/IfiAudio_ZenStream.dat -f HiTide RasPi Streamer --codec-mpegh true --codec-mqa false
Feb 12 00:18:48 moode tidal_connect_application[353]: [2021-02-12 00:18:48] [info] asio async_shutdown error: asio.misc:2 (End of file)
Feb 12 00:18:48 moode tidal_connect_application[353]: [2021-02-12 00:18:48.698] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:0
Feb 12 00:18:53 moode tidal_connect_application[353]: [2021-02-12 00:18:53.893] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:1
Feb 12 00:18:55 moode tidal_connect_application[353]: [2021-02-12 00:18:55.062] [tisoc] [warning] [logger.cpp:22] [audio_worker.cpp:321] Attempting to initialize a decoder without initial data!
Feb 12 00:18:59 moode tidal_connect_application[353]: [2021-02-12 00:18:59.179] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:0
Feb 12 00:18:59 moode tidal_connect_application[353]: [2021-02-12 00:18:59] [info] asio async_shutdown error: asio.misc:2 (End of file)
Feb 12 00:19:00 moode tidal_connect_application[353]: [2021-02-12 00:19:00.585] [tisoc] [warning] [PlaybackControllerImpl.cpp:472] Illegal state:1
Feb 12 00:19:03 moode tidal_connect_application[353]: [2021-02-12 00:19:03.587] [tisoc] [warning] [logger.cpp:22] [audio_worker.cpp:321] Attempting to initialize a decoder without initial data!
Feb 12 00:20:18 moode tidal_connect_application[353]: [2021-02-12 00:20:18] [info] asio async_shutdown error: asio.misc:2 (End of file)
Feb 12 00:20:59 moode tidal_connect_application[353]: [2021-02-12 00:20:59] [info] asio async_shutdown error: asio.misc:2 (End of file)
Mój dac jest na liście ("Khadas Tone Control USB Audio: - (hw:2,0)": nazwa skopiowana z pliku wygenerowanego wg instrukcji:
[Unit]
Description=RasPi Streamer Tidal Connect Service
[Service]
Restart=on-failure
ExecStart=/usr/ifi/ifi-tidal-release/bin/tidal_connect_application \
--tc-certificate-path "/usr/ifi/ifi-tidal-release/id_certificate/IfiAudio_ZenStream.dat" \
-f "HiTide RasPi Streamer" \
--codec-mpegh true \
--codec-mqa false \
--model-name "HiTide RasPi Streamer" \
--disable-app-security false \
--disable-web-security false \
--enable-mqa-passthrough false \
--log-level 3 \
--playback-device "Khadas Tone Control USB Audio: - (hw:2,0)"\
--enable-websocket-log "0"
User=root
Group=root
RestartSec=1
KillMode=control-group
[Install]
WantedBy=multi-user.target
Nazwa skopiowana z pliku wygenerowanego wg instrukcji:
device#0=bcm2835 HDMI 1: - (hw:0,0)
device#1=bcm2835 Headphones: - (hw:1,0)
device#2=Khadas Tone Control: USB Audio (hw:2,0)
device#3=sysdefault
device#4=btaplay_dmix
device#5=plug_btaplay_dmix
device#6=alsaequal
device#7=plug_alsaequal
device#8=camilladsp
device#9=crossfeed
device#10=plug_bs2b
device#11=eqfa12p
device#12=plug_eqfa12p
device#13=invpolarity
device#14=default
device#15=dmix
Number of devices = 16
Ale potem są jak widać błędy w statusie, ale niestety jestem laikiem w tej kwestii. A w głośnikach cisza