mirror of
https://github.com/patjak/facetimehd.git
synced 2026-04-09 19:10:01 +02:00
aebaf60c074d36d2e764cae9337b33e137a9b335
In the current implementation it returns -1 on error, an offset value otherwise. Change it to return a negative error value, and add a pointer to an u32 for receiving the entry offset as an extra argument. This makes the ugly (u32)-1 return code comparision obsolete, and we can return a more detailed error code like EAGAIN if all ringbuffer slots are busy.
#facetimehd
Linux driver for the Facetime HD (Broadcom 1570) PCIe webcam found in recent Macbooks, according to Apple the following models contain a Facetime HD camera:
iMac (21,5", since mid 2011) iMac (27", since mid 2011) MacBook Pro (15", since early 2011) MacBook Pro (17", since early 2011) MacBook Pro (13", since early 2011)
This driver is experimental. Use at your own risk.
See the Wiki for more information:
Languages
C
99.7%
Makefile
0.3%