23 Apr
2012
23 Apr
'12
9:03 p.m.
On Fri, Apr 20, 2012 at 11:32:52AM +0200, Ola Lilja wrote:
+/* Get a string naming the direction of a stream */ +const char *snd_soc_stream_str(struct snd_pcm_substream *substream) +{
- if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
return "Playback";
- else
return "Capture";
+}
This should be added to the ALSA core, there's nothing ASoC specific about it.