From 76424950e373d3b04ac3dd13019151bfba3e8423 Mon Sep 17 00:00:00 2001 From: sumuel Date: Mon, 17 Aug 2026 20:44:55 +0000 Subject: Add the files --- src/detection/sound/sound.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/detection/sound/sound.h (limited to 'src/detection/sound/sound.h') diff --git a/src/detection/sound/sound.h b/src/detection/sound/sound.h new file mode 100644 index 0000000..041e6a1 --- /dev/null +++ b/src/detection/sound/sound.h @@ -0,0 +1,16 @@ +#pragma once + +#include "fastfetch.h" +#include "modules/sound/option.h" + +#define FF_SOUND_VOLUME_UNKNOWN 255 + +typedef struct FFSoundDevice { + FFstrbuf identifier; + FFstrbuf name; + FFstrbuf platformApi; + uint8_t volume; // 0-100% + FFSoundType type; +} FFSoundDevice; + +const char* ffDetectSound(FFSoundOptions* options, FFlist* devices /* List of FFSoundDevice */); -- cgit v1.2.3