[alsa-devel] [alsa-lib][RFC][PATCH 4/9] pcm: add a helper function to query status of PCM substream