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
spu.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright 2005, ps2dev - http://www.ps2dev.org
7
# Licenced under GNU Library General Public License version 2
8
*/
9
15
#ifndef __SPU_H__
16
#define __SPU_H__
17
18
#define MAX_VOLUME 0x3fff
19
20
/* double buffer for spu. Must be twice the size of two channels,
21
* 512 bytes each. (2 * 2 * 512 = 2048)
22
*/
23
#define SPU_BUF_SZ 2048
24
25
/* SD constants */
26
27
#define SD_CORE_0 0
28
#define SD_CORE_1 1
29
30
#define SD_INIT_COLD 0
31
32
#define SD_VOICE_KEYON (0x15<<8)
33
#define SD_VOICE_KEYOFF (0x16<<8)
34
#define SD_VOICE_START ((0x20<<8)|(0x1<<6))
35
36
#endif
iop
sound
audsrv
src
spu.h
Generated on Sat May 17 2025 02:56:34 for PS2SDK by
1.12.0