From 904094281b062aff3445ca41fec57e4cfd0f563d Mon Sep 17 00:00:00 2001 From: Matthew Sotoudeh Date: Tue, 10 Nov 2020 14:06:35 -0800 Subject: Initial code release --- examples/program_analysis/paper_demos/docs.before.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 examples/program_analysis/paper_demos/docs.before.txt (limited to 'examples/program_analysis/paper_demos/docs.before.txt') diff --git a/examples/program_analysis/paper_demos/docs.before.txt b/examples/program_analysis/paper_demos/docs.before.txt new file mode 100644 index 0000000..1f10feb --- /dev/null +++ b/examples/program_analysis/paper_demos/docs.before.txt @@ -0,0 +1,9 @@ +# CameraLib v1.0 +### `cam_record_video(buffer, buffer_size, resolution)` +Records video from the main camera into `buffer` until `buffer_size` bytes are reached. On error returns -1. + +### `cam_record_audio(buffer, buffer_size, resolution)` +Uses the main camera's microphone to record audio into `buffer` until `buffer_size` bytes have been recorded. On error returns -5. + +### `cam_record_frame(buffer, buffer_size, resolution)` +Uses the main camera to record a single image to `buffer`. Automatically sets the resolution to fit in `buffer_size`. On failure returns -3. -- cgit v1.2.3