diff options
author | 諏訪子 <suwako@076.moe> | 2024-06-18 14:06:43 +0900 |
---|---|---|
committer | 諏訪子 <suwako@076.moe> | 2024-06-18 14:06:43 +0900 |
commit | 794dffcfe2204a6b7d92072e7af54e6e058dcbe9 (patch) | |
tree | ca289c31b554dbfa1ca211d50d877d3ec8a63475 /main.c | |
parent | e74aee761ae2470b2c205fefa70b2a46a4be1b0d (diff) |
マイクとカメラ(OpenBSDのみ)
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -4,11 +4,14 @@ #include "src/user.h" #include "src/os.h" -#include "src/host.h" -#include "src/uptime.h" #if defined(__linux__) #include "src/distro.h" #endif +#include "src/host.h" +#include "src/uptime.h" +#if defined(__OpenBSD__) +#include "src/recording.h" +#endif #include "src/cpu.h" #include "src/memory.h" @@ -45,6 +48,14 @@ int main() { display_time(); printf("\n"); +#if defined(__OpenBSD__) + printf("Recording: audio = "); + display_recording_audio(); + printf(", video = "); + display_recording_video(); + printf("\n"); +#endif + printf("CPU: "); display_cpu(); printf("\n"); |