#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_SOUND_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_SOUND_H #include #include #include #include namespace Settings { struct SoundCategory : WithIndex { using WithIndex::WithIndex; SettingValue mDevice{ mIndex, "Sound", "device" }; SettingValue mMasterVolume{ mIndex, "Sound", "master volume", makeClampSanitizerFloat(0, 1) }; SettingValue mFootstepsVolume{ mIndex, "Sound", "footsteps volume", makeClampSanitizerFloat(0, 1) }; SettingValue mMusicVolume{ mIndex, "Sound", "music volume", makeClampSanitizerFloat(0, 1) }; SettingValue mSfxVolume{ mIndex, "Sound", "sfx volume", makeClampSanitizerFloat(0, 1) }; SettingValue mVoiceVolume{ mIndex, "Sound", "voice volume", makeClampSanitizerFloat(0, 1) }; SettingValue mBufferCacheMin{ mIndex, "Sound", "buffer cache min", makeMaxSanitizerInt(1) }; SettingValue mBufferCacheMax{ mIndex, "Sound", "buffer cache max", makeMaxSanitizerInt(1) }; SettingValue mHrtfEnable{ mIndex, "Sound", "hrtf enable" }; SettingValue mHrtf{ mIndex, "Sound", "hrtf" }; SettingValue mCameraListener{ mIndex, "Sound", "camera listener" }; }; } #endif