ohmu
·
2026-10-15
1#pragma once
2
3#include "common/option.h"
4#include "common/percent.h"
5
6typedef enum FFSoundType: uint8_t {
7 FF_SOUND_TYPE_NONE = 0,
8 FF_SOUND_TYPE_MAIN = 1 << 0,
9 FF_SOUND_TYPE_ACTIVE = 1 << 1,
10} FFSoundType;
11
12typedef struct FFSoundOptions {
13 FFModuleArgs moduleArgs;
14
15 // Reports matched device only, otherwise reports all devices
16 // NOTE: for FF_SOUND_TYPE_NONE, reports all devices
17 FFSoundType soundType;
18 FFPercentageModuleConfig percent;
19} FFSoundOptions;
20
21static_assert(sizeof(FFSoundOptions) <= FF_OPTION_MAX_SIZE, "FFSoundOptions size exceeds maximum allowed size");