]> git.alsa-project.org Git - alsa-utils.git/commit
aplay: log pcm status before reporting a fatal error
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 27 Oct 2023 20:05:06 +0000 (15:05 -0500)
committerJaroslav Kysela <perex@perex.cz>
Tue, 12 Dec 2023 13:25:23 +0000 (14:25 +0100)
commit6e9be2a3f356d79da3b71c9244d4c809baf38e52
treec30f925875c7ecbfac8c1aa183aa15ea2b215d60
parent8e6351f19d803e969c5d2fc874033f3cf68b89c4
aplay: log pcm status before reporting a fatal error

When the --fatal-errors happen, nothing is provided to the user even
when the '-v' verbose option is specified. This patch adds the fatal
error exit after dumping the logs. No functionality change, just
better information on what just happened.

Closes: https://github.com/alsa-project/alsa-utils/pull/242
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
aplay/aplay.c