[alsa-devel] [PATCH v2 1/2] aplay: Show usage if no parameter is passed

Clemens Ladisch clemens at ladisch.de
Tue Nov 13 12:25:36 CET 2012

Fabio Estevam wrote:
> When aplay/arecord are called without any argument the application hangs forever.
> +	if (isatty(fileno(stdin)) && (argc == 1)) {

And that would be stdout for arecord. :)


More information about the Alsa-devel mailing list