18 Oct
2019
18 Oct
'19
8:17 a.m.
On Tue, 15 Oct 2019 17:52:02 +0200, frederik@ofb.net wrote:
Dear Takashi,
I tested your patch, after commenting some lines in my ~/.asoundrc, and I can confirm that it works. I can now specify a pulse device to 'ecasound':
ecasound -o alsa,pulse:music -i song.wav
and when I do it with no "DEVICE" argument, then it outputs to the sink defined by "pacmd set-default-sink":
ecasound -o alsa,pulse -i song.wav
I guess this only exercises one of the cases in your patch where the empty string is recognized as NULL:
} else if (!*device) {
device = NULL;
Let me know if you want me to do more testing, and apologies for the long delay in my reply.
OK, good to hear. Now I applied the patch to git repo.
thanks,
Takashi