summaryrefslogtreecommitdiff
path: root/examples/program_analysis/paper_demos/docs.after.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/program_analysis/paper_demos/docs.after.txt')
-rw-r--r--examples/program_analysis/paper_demos/docs.after.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/program_analysis/paper_demos/docs.after.txt b/examples/program_analysis/paper_demos/docs.after.txt
new file mode 100644
index 0000000..e162420
--- /dev/null
+++ b/examples/program_analysis/paper_demos/docs.after.txt
@@ -0,0 +1,9 @@
+# CameraLib v2.0
+### `cam_record_video(buffer, buffer_size)`
+Records video from the main camera into `buffer` until `buffer_size` bytes are reached. On error returns -4.
+
+### `cam_record_audio(buffer, buffer_size)`
+Uses the main camera's microphone to record audio into `buffer` until `buffer_size` bytes have been recorded. On error returns -2.
+
+### `cam_record_frame(buffer, buffer_size)`
+Uses the main camera to record a single image to `buffer`. Automatically sets the resolution to fit in `buffer_size`. On failure returns -6.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback