repo.or.cz
/
libogc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
disable SMB debug spew for now
[libogc.git]
/
wiiuse
/
speaker.h
blob
d7c61cca0b02f2f8e62efc65d3175f25b93e202b
1
#ifndef __SPEAKER_H__
2
#define __SPEAKER_H__
3
4
#include
"wiiuse_internal.h"
5
6
#ifdef __cplusplus
7
extern
"C"
{
8
#endif
9
10
typedef
struct
_wencstatus
11
{
12
s32 predictor
;
13
s16 step_index
;
14
s32 step
;
15
s32 prev_sample
;
16
s16 sample1
;
17
s16 sample2
;
18
s32 coeff1
;
19
s32 coeff2
;
20
s32 idelta
;
21
}
WENCStatus
;
22
23
u8
wencdata
(
WENCStatus
*
info
,
s16 sample
);
24
void
set_speakervol
(
struct
wiimote_t
*
wm
,
ubyte vol
);
25
26
#ifdef __cplusplus
27
}
28
#endif
29
30
#endif