repo.or.cz
/
openal-soft.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Stop the Oboe recording stream when recording is stopped
[openal-soft.git]
/
core
/
cpu_caps.h
blob
ffd671d0dcfc3c5d19bdaf48c299468e25029347
1
#ifndef CORE_CPU_CAPS_H
2
#define CORE_CPU_CAPS_H
3
4
#include <string>
5
6
#include
"aloptional.h"
7
8
9
extern
int
CPUCapFlags
;
10
enum
{
11
CPU_CAP_SSE
=
1
<<
0
,
12
CPU_CAP_SSE2
=
1
<<
1
,
13
CPU_CAP_SSE3
=
1
<<
2
,
14
CPU_CAP_SSE4_1
=
1
<<
3
,
15
CPU_CAP_NEON
=
1
<<
4
,
16
};
17
18
struct
CPUInfo
{
19
std
::
string mVendor
;
20
std
::
string mName
;
21
int
mCaps
{
0
};
22
};
23
24
al
::
optional
<
CPUInfo
>
GetCPUInfo
();
25
26
#endif
/* CORE_CPU_CAPS_H */