mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 10:52:08 +02:00
22 lines
600 B
C
22 lines
600 B
C
#pragma once
|
|
|
|
#include "common/option.h"
|
|
#include "common/percent.h"
|
|
|
|
typedef enum FFSoundType: uint8_t {
|
|
FF_SOUND_TYPE_NONE = 0,
|
|
FF_SOUND_TYPE_MAIN = 1 << 0,
|
|
FF_SOUND_TYPE_ACTIVE = 1 << 1,
|
|
} FFSoundType;
|
|
|
|
typedef struct FFSoundOptions {
|
|
FFModuleArgs moduleArgs;
|
|
|
|
// Reports matched device only, otherwise reports all devices
|
|
// NOTE: for FF_SOUND_TYPE_NONE, reports all devices
|
|
FFSoundType soundType;
|
|
FFPercentageModuleConfig percent;
|
|
} FFSoundOptions;
|
|
|
|
static_assert(sizeof(FFSoundOptions) <= FF_OPTION_MAX_SIZE, "FFSoundOptions size exceeds maximum allowed size");
|