[LAD] ALSA docs
Fons Adriaensen
fons at linuxaudio.org
Mon Apr 14 16:11:12 UTC 2014
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)
More information about the Linux-audio-dev
mailing list