[alsa-devel] parameter for pulse device?

Takashi Iwai tiwai at suse.de
Fri Oct 18 08:17:30 CEST 2019


On Tue, 15 Oct 2019 17:52:02 +0200,
frederik at 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


More information about the Alsa-devel mailing list