RetroArch
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
+
Variables
a
b
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
g
i
l
m
o
p
q
r
s
t
u
v
x
+
Enumerations
a
b
c
d
e
f
g
i
k
l
m
o
p
q
r
s
t
v
+
Enumerator
a
b
c
d
e
f
g
i
k
l
m
o
p
r
s
t
u
x
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
Enumerations
+
Enumerator
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Properties
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Á
á
é
Ά
Ή
Α
Δ
Ε
Κ
Ο
Π
Σ
Ω
α
ε
θ
π
В
И
К
О
П
У
а
в
д
з
и
к
о
п
с
ф
ч
я
オ
キ
ス
チ
デ
レ
上
下
中
右
启
啟
回
実
屏
左
已
巻
支
显
次
聲
过
鍵
需
顯
게
구
너
넷
도
동
되
레
리
버
변
비
사
성
쉐
시
실
애
연
오
이
입
잘
조
죄
중
지
참
코
키
필
화
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Á
á
Ά
Ή
Α
Ε
Κ
Ο
К
П
а
д
з
к
オ
ス
デ
レ
上
下
中
右
启
啟
回
屏
左
巻
支
显
次
聲
顯
너
넷
동
레
버
비
시
잘
중
지
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
é
Δ
Ε
Κ
Π
Σ
Ω
α
ε
θ
π
В
И
К
О
У
в
д
з
и
к
о
п
с
ф
ч
я
キ
チ
実
已
过
鍵
需
게
구
도
되
리
변
사
성
쉐
시
실
애
연
오
이
입
조
죄
참
코
키
필
화
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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