I am writing an audio application using ALSA (via QAudioInput/Output) that opens two output streams simultaneously. Both ALSA streams use the pulseaudio ALSA plugin. That also works fine and I can assign them to different output devices in pavucontrol
.
How can I set specific names (and/or other parameters) for those streams such that pulseaudio will remember the stream assignment to specific output devices?