-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenums.odin
63 lines (55 loc) · 1.12 KB
/
enums.odin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
package wasapi
import "core:sys/windows"
AUDCLNT_BUFFERFLAGS :: bit_set[AUDCLNT_BUFFERFLAG; windows.DWORD]
AUDCLNT_BUFFERFLAG :: enum {
DATA_DISCONTINUITY,
SILENT,
TIMESTAMP_ERROR,
}
EDataFlow :: enum i32 {
eRender,
eCapture,
eAll,
}
ERole :: enum i32 {
eConsole,
eMultimedia,
eCommunications,
}
AUDCLNT_SHAREMODE :: enum i32 {
SHARED,
EXCLUSIVE,
}
AUDIO_STREAM_CATEGORY :: enum i32 {
Other,
ForegroundOnlyMedia,
BackgroundCapableMedia,
Communications,
Alerts,
SoundEffects,
GameEffects,
GameMedia,
GameChat,
Speech,
Movie,
Media,
}
AUDCLNT_STREAMOPTIONS :: bit_set[AUDCLNT_STREAMOPTION; u32]
AUDCLNT_STREAMOPTION :: enum {
RAW,
MATCH_FORMAT,
AMBISONICS,
}
Audio_Client_Stream_Flags :: bit_set[Audio_Client_Stream_Flag; windows.DWORD]
Audio_Client_Stream_Flag :: enum {
Cross_Process = 16,
Loop_Back = 17,
Event_Callback = 18,
No_Persist = 19,
Rate_Adjusted = 20,
Source_Default_Quality = 27,
Expire_When_Unowned = 28,
Display_Hide = 29,
Display_Hide_When_Expired = 30,
Auto_Convert_PCM = 31,
}