-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detecting silence does not work #38
Comments
It's clear
Will give it a try with a new snapserver package. |
Successfully tested on my setup with this deb
It looks like my setup is quite noisy, setting anything lower than
Hint: The DEB above seems to need the following override, I assume this is different in the standard debian package:
|
Another two pieces of information:
|
There is actually another solution to this issue. Hifiberry has built a python alsaloop implementation with silence detection. So we would not depend on this feature in snapserver. However, this is only an option if this alsaloop properly works with |
Latest merge in DEV solves the config issue in ansible that works with V0.25 of snapserver (see above). Not marking as solved until V.025 is installable via some repo (or we have implemented the install process of V0.25 in ansible). |
Ideally, the snapserver would go to state idle when no audio is to be played. I have currently three sources connected to the Loopback device:
When I stop mpd and stop the analog acable
systemctl stop [email protected]
, then the snapserver switches immediately to state idle, provided I have the following config insnapserver.conf
:The current state of the snapserver is best viewed in snapweb. Starting/Stopping mpd is followed by the
snapserver state immediately.
However, as long as the
acable@analog-aloop
service is running, snapserver stays onplaying
.I assume that the
silence_threshold_percent
parameter is not yet implemented in the version we are getting from the bullseye repo,strings
findssend_silence
andidle_threshold
, but notsilence_threshold_percent
in the snapserver binary.I found a quite current bug report about exactly that feature.
The text was updated successfully, but these errors were encountered: