[vlc-commits] ALSA: rewrite capture plugin

Rémi Denis-Courmont git at videolan.org
Sat May 12 18:28:51 CEST 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 12 19:18:34 2012 +0300| [793ac1e6b4b824655dd2fe9051637199c0a328fe] | committer: 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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=793ac1e6b4b824655dd2fe9051637199c0a328fe
---

 modules/access/alsa.c |  992 +++++++++++++++++++------------------------------
 1 files changed, 386 insertions(+), 606 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=793ac1e6b4b824655dd2fe9051637199c0a328fe


More information about the vlc-commits mailing list