On Sat, Feb 27, 2016 at 01:41:15PM -0500, Michael Reed wrote: > On 02/27/16 04:15, Alexandre Ratchov wrote: > >A nicer approach would be to handle this in sndiod by allowing > >sub-devices (aka -s options) to change their device (aka -f > >option). The advantage of doing it in sndiod is that later this > >could happen dynamically (ex. unplug usb cable and programs > >migrate to another device). > > So, if I had program A connected to snd/0 (backed by rsnd/1), and > rsnd/1 was unplugged during playback, then snd/0's backing device > would be changed to rsnd/0?
yes that would work. The hardest part is how to expose it without adding a gazillon of flags & options.

