Commits
- Commit:
b02dadd38071fc5f6fec5241c805077e7a5b818d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
cache audio_nfds()
ALSA' snd_pcm_poll_descriptors_count() can fail with -EPIPE after
an underrun (e.g. after a pause), so we can't call it directly like
this. It's also a bit sloppy to always call audio_nfds(), so instead
save the (initial) value returned and pass it to the various
functions.
Issue reported and fix tested by phoebos (ben [at] bvnf [dot] space),
thank you!
- Commit:
06ceb3767eb7e480de05cd50f4fbaf75fb3322a2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
split out sndio-specific parts to audio_sndio.c
This hides the libsndio bits behind a small audio_* API for which in
the future we may provide multiple implementations.