Rise
The Vieneo Province
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 };
char padding[15]
Definition: SoundConfig.h:15
char bassDevice
Definition: SoundConfig.h:19
const GUID MYGUID_DEFAULT
Definition: Guids.h:5
float volume
Definition: SoundConfig.h:13