summaryrefslogtreecommitdiff
path: root/src/vcr.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2024-09-29 12:49:12 -0700
committerVito Caputo <vcaputo@pengaru.com>2024-09-29 12:49:12 -0700
commit2e437967eaee5ec4359bfada18a5c9bbedacb305 (patch)
treeec591e7c782e1d3a3a7e5df65df169fddafaa1f9 /src/vcr.h
parent0090477d85c61c456979aa18ac18ec4ec2260113 (diff)
vcr: clarify timeout units in naming
vcr_backend_poll() mirrors the poll() api, but let's clarify the timeout units as microseconds.
Diffstat (limited to 'src/vcr.h')
-rw-r--r--src/vcr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcr.h b/src/vcr.h
index 057d39f..7ee9bc9 100644
--- a/src/vcr.h
+++ b/src/vcr.h
@@ -49,7 +49,7 @@ typedef struct vcr_str_t {
vcr_backend_t * vcr_backend_new(vcr_backend_type_t backend, ...);
int vcr_backend_get_dimensions(vcr_backend_t *vbe, int *res_width, int *res_height);
-int vcr_backend_poll(vcr_backend_t *vbe, int timeout);
+int vcr_backend_poll(vcr_backend_t *vbe, int timeout_us);
vcr_backend_event_t vcr_backend_next_event(vcr_backend_t *vbe, int *res_width, int *res_height);
vcr_backend_t * vcr_backend_free(vcr_backend_t *vbe);
© All Rights Reserved