PS2SDK
PS2 Homebrew Libraries
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
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
Functions
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
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
c
d
e
f
g
i
l
m
n
p
q
r
s
t
u
v
Variables
_
c
d
f
g
i
k
m
n
p
q
r
s
t
u
v
w
Typedefs
a
d
h
i
l
m
n
p
r
s
t
w
Enumerations
_
a
c
d
g
i
l
m
n
o
p
s
t
v
Enumerator
c
d
e
g
i
n
p
s
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
ssgsattr.c
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright ps2dev - http://www.ps2dev.org
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
11
#include "libsnd2_internal.h"
12
13
char
SsGetSerialAttr(
char
s_num,
char
attr)
14
{
15
SpuCommonAttr
spu_attr;
16
17
SpuGetCommonAttr(&spu_attr);
18
switch
( s_num )
19
{
20
case
SS_SERIAL_A:
21
switch
( attr )
22
{
23
case
SS_MIX:
24
return
spu_attr.cd.mix;
25
case
SS_REV:
26
return
spu_attr.cd.reverb;
27
default
:
28
break
;
29
}
30
break
;
31
case
SS_SERIAL_B:
32
switch
( attr )
33
{
34
case
SS_MIX:
35
return
spu_attr.ext.mix;
36
case
SS_REV:
37
return
spu_attr.ext.reverb;
38
default
:
39
break
;
40
}
41
break
;
42
default
:
43
break
;
44
}
45
return
-1;
46
}
SpuCommonAttr_
Definition
libspu2.h:298
iop
sound
libsnd2
src
ssgsattr.c
Generated on Sun Mar 30 2025 21:53:12 for PS2SDK by
1.12.0