Re: How to report error in _pointer function?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux