11 Aug
2008
11 Aug
'08
5:37 p.m.
Takashi Iwai wrote:
Hm? snd_pcm_pre_stop() returns -EBADFD if the stream *IS* OPEN. If it's RUNNING, it will stop the stream and change the state.
Hmmm.... you're right. I don't know what I was thinking.
Tracing the code, I see that ALSA does call my driver's trigger function to stop the stream. So why doesn't the application also stop?
--
Timur Tabi
Linux kernel developer at Freescale