Get a string naming the direction of a stream
const char * snd_pcm_stream_str(struct snd_pcm_substream * substream);
substream
the pcm substream instance
A string naming the direction of the stream.