On Mon, Apr 14, 2014 at 03:41:09PM +0200, Clemens Ladisch wrote:
> Fons Adriaensen wrote:
> > if a device supports the pcm_resume() function, and it returns 0,
> > is a pcm_start() required or not?
>
> If a device supports pcm_resume(), then the buffer is in the same
> state it was when it was suspended, i.e., it is still running, and
> continuing from the same position in the buffer.
Thanks !
So no pcm_start would be required.
A few more questions if I'm allowed:
* are there any devices that do support pcm_resume() ?
(none of those I could test)
* is suspend/resume supposed to work with USB souncards ?
(a quick test with an UA25EX leads to 100% CPU for both
Jack and my test apps)
Ciao,
-- FA A world of exhaustive, reliable metadata would be an utopia. It's also a pipe-dream, founded on self-delusion, nerd hubris and hysterically inflated market opportunities. (Cory Doctorow) _______________________________________________ Linux-audio-dev mailing list Linux-audio-dev@email-addr-hidden http://lists.linuxaudio.org/listinfo/linux-audio-devReceived on Mon Apr 14 20:15:05 2014
This archive was generated by hypermail 2.1.8 : Mon Apr 14 2014 - 20:15:05 EEST