2










5



4


















5



7





8






2














-
1









m
s
g






p
e
r
r
o
r




























































m
s
g












e
r
r





}






r
e
t
u
r
n

-
1
;






p
e
r
r
o
r

(
m
s
g
)
;


{


e
r
r

(
c
h
a
r

*
m
s
g
)


i
n
t




W
a
v
e
H
d
r
;


}






s
h
o
r
t



B
i
t
s
P
e
r
S
a
m
p
l
e
;






s
h
o
r
t



B
l
o
c
k
A
l
i
g
n
;






l
o
n
g




A
v
g
B
y
t
e
s
P
e
r
S
e
c
;






l
o
n
g




S
a
m
p
l
e
s
P
e
r
S
e
c
;






s
h
o
r
t



C
h
a
n
n
e
l
s
;






s
h
o
r
t



F
o
r
m
a
t
T
a
g
;


{


t
y
p
e
d
e
f

s
t
r
u
c
t




R
i
f
f
H
d
r
;


}






c
h
a
r




W
a
v
e
[
4
]
;






l
o
n
g




S
i
z
e
;






c
h
a
r




R
i
f
f
[
4
]
;


{


t
y
p
e
d
e
f

s
t
r
u
c
t



R
i
f
f
T
a
g
;


}






l
o
n
g




l
e
n
g
t
h
;






c
h
a
r




t
a
g
[
4
]
;


{


t
y
p
e
d
e
f

s
t
r
u
c
t




















l
e
n
g
t
h












t
a
g








4











R
i
f
f
T
a
g








c
o
n
s
t

c
h
a
r

*
k
W
a
v
e
I
d

=

"
W
A
V
E
"
;


c
o
n
s
t

c
h
a
r

*
k
R
i
f
f
I
d

=

"
R
I
F
F
"
;









*
k
R
i
f
f
I
d



"
R
I
F
F
"








#
i
n
c
l
u
d
e

<
s
y
s
/
a
s
o
u
n
d
l
i
b
.
h
>



#
i
n
c
l
u
d
e

<
u
n
i
s
t
d
.
h
>


#
i
n
c
l
u
d
e

<
s
y
s
/
t
y
p
e
s
.
h
>


#
i
n
c
l
u
d
e

<
s
y
s
/
t
e
r
m
i
o
.
h
>


#
i
n
c
l
u
d
e

<
s
y
s
/
s
t
a
t
.
h
>


#
i
n
c
l
u
d
e

<
s
y
s
/
s
e
l
e
c
t
.
h
>


#
i
n
c
l
u
d
e

<
s
y
s
/
i
o
c
t
l
.
h
>


#
i
n
c
l
u
d
e

<
s
t
r
i
n
g
.
h
>


#
i
n
c
l
u
d
e

<
s
t
d
l
i
b
.
h
>


#
i
n
c
l
u
d
e

<
s
t
d
i
o
.
h
>


#
i
n
c
l
u
d
e

<
f
c
n
t
l
.
h
>









e
r
r
n
o
.
h