On Wed, Oct 26, 2016 at 12:48:29PM -0700, Fernando Lopez-Lezcano wrote:
What happens
with the test app that comes with the alsa-pcmi lib ?
"can't set playback hardware parameters" (or capture sometimes).
This is trying out alsa_delay with debugging enabled through the
environmental variable and changing the sampling rate from the last
one used (./alsa_delay hw:2 hw:2 48000 128 2). It says the same
thing when retrying until it just works again.
So having a loop, retrying a few times while printing a message
to the user plus some sleeping, should solve this.
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)