Commit 793ac1e6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

ALSA: rewrite capture plugin

 * use a thread instead of short interval polling,
 * do not assume latency is shorter than a period,
 * negotiate sample format instead automatically,
 * map all known ALSA formats to VLC codecs,
 * negotiate channels and sample rate,
 * partial support for 3-6 channels (missing preferences),
 * negotiate buffer and period times according to caching,
 * tolerate off-by-one period size due to rounding,
 * use the "default" device by default rather than "hw",
 * remove old-style hardware-only suggestions in debug messages.
parent 0ef62578
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment