Closed moodeaudio closed 2 years ago
Thanks for the report!
Hello again, Tim. That was indeed a bug -- many thanks!
I think it is fixed in the latest push to the development
branch. The time given to the DAC hardware to fully stop has also been extended from five to 10 milliseconds before fully releasing the device descriptors.
Nice :-)
I'll try to test this weekend.
Works perfectly now. Bug has been fixed :-)
Hi Tim. A possibly related further issue is that when an AirPlay 2 buffered stream was paused or stopped and disable_standby_mode
was "off"
, the output DAC was left open until the AirPlay 2 was taken down or timed out after about 6 minutes.
That has been changed -- the DAC will now be closed immediately when a buffered stream pause message is received and disable_standby_mode
is "off"
.
Thanks Mike.
What happened?
Testing Airplay 2
run_this_after_exiting_active_state
which runs a script that changes the moOde UI, This works as expected.What happened.
The ALSA output remained open
What was expected
The ALSA output would be closed (restarting shairport-sync did close the output)
Some settings and the launch string
disable_standby_mode = "auto"
/usr/bin/shairport-sync -vvu -a "Moode Airplay" -- -d _audioout > /var/log/shairport-sync.log 2>&1 &
Relevant log output
Operating System?
pi@moode:~ $ uname -a Linux moode 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64 GNU/Linux
Version?
pi@moode:~ $ shairport-sync -V 4.1-dev-556-g1d6a378c-AirPlay2-libdaemon-OpenSSL-Avahi-ALSA-jack-pa-dummy-stdout-pipe-soxr-convolution-metadata-mqtt-dbus-mpris-sysconfdir:/etc
How did you install Shairport Sync?
Built from source
Check previous issues