RetroArch/wii/wiiuse/speaker.h
twinaphex 5ee38b157d (Wii) Add customized Wiiuse - should reduce overall input latency
(also debloats - no Guitar Hero 3/Wii Board/key down/key up)
2013-01-07 04:10:16 +01:00

31 lines
420 B
C

#ifndef __SPEAKER_H__
#define __SPEAKER_H__
#include "wiiuse_internal.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _wencstatus
{
s32 predictor;
s16 step_index;
s32 step;
s32 prev_sample;
s16 sample1;
s16 sample2;
s32 coeff1;
s32 coeff2;
s32 idelta;
} WENCStatus;
u8 wencdata(WENCStatus *info,s16 sample);
void set_speakervol(struct wiimote_t *wm,ubyte vol);
#ifdef __cplusplus
}
#endif
#endif