From bd71fe8e472671eb938092bb53086523aa06e4b0 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Mon, 1 Feb 2021 11:56:13 +0000 Subject: add code for work with device, functional arg --list-devices --- parecord/device.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 parecord/device.h (limited to 'parecord/device.h') diff --git a/parecord/device.h b/parecord/device.h new file mode 100644 index 0000000..3a520d6 --- /dev/null +++ b/parecord/device.h @@ -0,0 +1,12 @@ +#ifndef PAR_DEVICE_H +#define PAR_DEVICE_H + +struct list_devices { + char *name; + char *description; +}; + +struct list_devices *getInputDeviceList(int *len); +void freeDeviceList(struct list_devices *list, int len); + +#endif /* PAR_DEVICE_H */ -- cgit v1.2.3-18-g5258