Reference

snd_pcm_stream_str(9) on Linux

The text 11ac69f1953d, as Debian 8 (Jessie) shipped it.

Get a string naming the direction of a stream

snd_pcm_stream_str(9) on Linux now