kc2g-flex-tools / nDAX

Flex 6xxx DAX (digital audio transport) connector to PulseAudio
MIT License
18 stars 3 forks source link

Add some way to clean up pulseaudio devices after a crash #2

Closed arodland closed 3 years ago

arodland commented 4 years ago

On normal exit, we remove any loopback devices that were created, but if it's necessary to SIGKILL/SIGQUIT nDAX, the devices are left behind. We should do one or more of

  1. Clean up any module-null-sink matching our source/sink name if they exist on startup
  2. Just use the existing ones if they already exist on startup
  3. Have a command that does nothing except cleanup, for users' convenience.