Rise
The Vieneo Province
Toggle main menu visibility
Loading...
Searching...
No Matches
SoundConfig.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <WinSock2.h>
4
#include <WS2tcpip.h>
5
#include <Windows.h>
6
#include "
Guids.h
"
7
8
struct
SoundConfig
9
{
10
// 1
11
GUID
guid
=
MYGUID_DEFAULT
;
// default device 16 bytes
12
// 17
13
float
volume
= 1.0f;
// full volume
14
// size is 32 so need padding for future expansion
15
char
padding
[15]{};
16
17
// -------------------------------------------
18
// these are not loaded/saved from the config!
19
char
bassDevice
= 0;
20
};
Guids.h
MYGUID_DEFAULT
const GUID MYGUID_DEFAULT
Definition
Guids.h:5
SoundConfig
Definition
SoundConfig.h:9
SoundConfig::guid
GUID guid
Definition
SoundConfig.h:11
SoundConfig::bassDevice
char bassDevice
Definition
SoundConfig.h:19
SoundConfig::padding
char padding[15]
Definition
SoundConfig.h:15
SoundConfig::volume
float volume
Definition
SoundConfig.h:13
Config
SoundConfig.h
Generated on
for Rise by
1.18.0