next release will be 1.8.8
[libogc.git] / wiiuse / speaker.h
blobd7c61cca0b02f2f8e62efc65d3175f25b93e202b
1 #ifndef __SPEAKER_H__
2 #define __SPEAKER_H__
4 #include "wiiuse_internal.h"
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 typedef struct _wencstatus
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;
23 u8 wencdata(WENCStatus *info,s16 sample);
24 void set_speakervol(struct wiimote_t *wm,ubyte vol);
26 #ifdef __cplusplus
28 #endif
30 #endif