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
Check that AltiVec is enabled before using it
[openal-soft.git]
/
core
/
voice_change.h
blob
e97c48f331108227217c3bef15a3a2bb45e12813
1
#ifndef VOICE_CHANGE_H
2
#define VOICE_CHANGE_H
3
4
#include <atomic>
5
6
struct
Voice
;
7
8
using
uint
=
unsigned int
;
9
10
11
enum
class
VChangeState
{
12
Reset
,
13
Stop
,
14
Play
,
15
Pause
,
16
Restart
17
};
18
struct
VoiceChange
{
19
Voice
*
mOldVoice
{
nullptr
};
20
Voice
*
mVoice
{
nullptr
};
21
uint mSourceID
{
0
};
22
VChangeState mState
{};
23
24
std
::
atomic
<
VoiceChange
*>
mNext
{
nullptr
};
25
};
26
27
#endif
/* VOICE_CHANGE_H */