A distribution overlay for Raspbian and similar systems to create a JACK-based embedded system for audio processing and streaming. Contract work for [mn] medianet. https://www.medianet-home.de
Other
11
stars
2
forks
source link
try disconnecting jack client ports in ExecStop to avoid buffer loops #86
At the moment, medianet nodes may produce a second or so of repeated buffers when they are rebooted while audio is playing. We are already using the following in mn_zita-n2j:
# zita-n2j will repeat its last buffer on shutdown, which sounds ugly.
# disconnect first, then kill
ExecStop=-/usr/local/bin/mn_disconnect %n
Might be worth trying to add it to jackd and/or mod-host as well, depending on who produces the buffer loop, for a nicer UX in the rare case of a warm reboot (not that the user would usually be experiencing one, let alone causing one).
At the moment, medianet nodes may produce a second or so of repeated buffers when they are rebooted while audio is playing. We are already using the following in
mn_zita-n2j
:Might be worth trying to add it to jackd and/or mod-host as well, depending on who produces the buffer loop, for a nicer UX in the rare case of a warm reboot (not that the user would usually be experiencing one, let alone causing one).