OSDN Git Service

ALSA: Add snd_pcm_direction_name() helper
authorCezary Rojewski <cezary.rojewski@intel.com>
Wed, 11 May 2022 16:23:50 +0000 (18:23 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 6 Jun 2022 11:33:09 +0000 (12:33 +0100)
commit90b12a88b710cdc80c00552dfbd589228978bffe
tree00d7e5433a3b0ca5bf138868de2d53cf5f5179ca
parentbe1a63daffdd152ba4c7b71ab9fec2e39259b42b
ALSA: Add snd_pcm_direction_name() helper

Allow for retrieving string naming a direction of a stream without the
need of substream pointer.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220511162403.3987658-2-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/pcm.h