[alsa-devel] PCM states and snd_pcm_drain()