03-06-2019, 10:18 PM
I agree, that one generally doesn't want to actually play multiple audio sources simultaneously. However, currently, the transition from one source to another isn't smooth except when going from MPD to another source.
I totally understand, that dmix comes at the cost of potential resampling if the source rate doesn't match the rate of dmix.
Ideally, every time you start playback from a new source, the old source is signaled to stop and free the audio device. At the moment, works for stopping MPD when other sources come in, but not in any other direction. An especially annoying situation is bluetooth which blocks the audio device even when silent.
But for those who need convenience (or the so-called "wife acceptance factor"), it would be nice if there was a setting to optionally use dmix. After all, all that's really needed is a setting that results in plug:dmix being passed to applications instead of the usual hw:X,0. Then everyone can choose what they prefer.
I totally understand, that dmix comes at the cost of potential resampling if the source rate doesn't match the rate of dmix.
Ideally, every time you start playback from a new source, the old source is signaled to stop and free the audio device. At the moment, works for stopping MPD when other sources come in, but not in any other direction. An especially annoying situation is bluetooth which blocks the audio device even when silent.
But for those who need convenience (or the so-called "wife acceptance factor"), it would be nice if there was a setting to optionally use dmix. After all, all that's really needed is a setting that results in plug:dmix being passed to applications instead of the usual hw:X,0. Then everyone can choose what they prefer.