RetroArch
wii
libogc
wiiuse
speaker.h
Go to the documentation of this file.
1
/* This source as presented is a modified version of original wiiuse for use
2
* with RetroArch, and must not be confused with the original software. */
3
4
#ifndef __SPEAKER_H__
5
#define __SPEAKER_H__
6
7
#include "
wiiuse_internal.h
"
8
9
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
13
typedef
struct
_wencstatus
14
{
15
s32
predictor
;
16
s16
step_index
;
17
s32
step
;
18
s32
prev_sample
;
19
s16
sample1
;
20
s16
sample2
;
21
s32
coeff1
;
22
s32
coeff2
;
23
s32
idelta
;
24
}
WENCStatus
;
25
26
u8
wencdata
(
WENCStatus
*
info
,
s16
sample
);
27
void
set_speakervol
(
struct
wiimote_t
*wm,
ubyte
vol);
28
29
#ifdef __cplusplus
30
}
31
#endif
32
33
#endif
set_speakervol
void set_speakervol(struct wiimote_t *wm, ubyte vol)
Definition:
speaker.c:142
_wencstatus::coeff1
s32 coeff1
Definition:
speaker.h:21
_wencstatus::sample2
s16 sample2
Definition:
speaker.h:20
s32
int32_t s32
32bit signed integer
Definition:
gctypes.h:24
wiimote_t
Wiimote structure.
Definition:
wiiuse.h:594
retro_game_info
Definition:
libretro.h:2275
_wencstatus::predictor
s32 predictor
Definition:
speaker.h:15
_wencstatus
Definition:
speaker.h:13
_wencstatus::sample1
s16 sample1
Definition:
speaker.h:19
wiiuse_internal.h
General internal wiiuse stuff.
_wencstatus::idelta
s32 idelta
Definition:
speaker.h:23
_wencstatus::step
s32 step
Definition:
speaker.h:17
_wencstatus::step_index
s16 step_index
Definition:
speaker.h:16
ubyte
unsigned char ubyte
Definition:
wiiuse.h:187
s16
int16_t s16
16bit signed integer
Definition:
gctypes.h:23
sample
Definition:
ibxm.h:14
_wencstatus::coeff2
s32 coeff2
Definition:
speaker.h:22
u8
uint8_t u8
8bit unsigned integer
Definition:
gctypes.h:17
_wencstatus::prev_sample
s32 prev_sample
Definition:
speaker.h:18
wencdata
u8 wencdata(WENCStatus *info, s16 sample)
WENCStatus
struct _wencstatus WENCStatus
Generated by
1.8.15