sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
ahx_rpc.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright 2001-2004, 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
16
17
#ifndef __AHX_H__
18
#define __AHX_H__
19
20
#define AHX_IRX 0xC001D0E
21
#define AHX_INIT 0x01
22
#define AHX_PLAY 0x02
23
#define AHX_PAUSE 0x03
24
#define AHX_QUIT 0x04
25
#define AHX_LOADSONG 0x05
26
#define AHX_SETVOLUME 0x06
27
#define AHX_SETBOOST 0x07
28
#define AHX_OVERSAMPLING 0x08
29
#define AHX_SUBSONG 0x09
30
31
#ifdef __cplusplus
32
extern
"C"
{
33
#endif
34
40
extern
int
AHX_Init
();
41
50
extern
int
AHX_LoadSongBuffer
(
char
* songdata,
int
songsize);
51
59
extern
int
AHX_LoadSong
(
char
* filename);
60
68
extern
int
AHX_SubSong
(
int
songNo);
69
76
extern
int
AHX_SetVolume
(
int
volumePercentage);
77
86
extern
int
AHX_SetBoost
(
int
boostValue);
87
95
extern
int
AHX_ToggleOversampling
();
96
103
extern
int
AHX_Quit
();
104
110
extern
int
AHX_Play
();
111
117
extern
int
AHX_Pause
();
118
119
#ifdef __cplusplus
120
}
121
#endif
122
123
#endif
/* __AHX_H__ */
AHX_SetBoost
int AHX_SetBoost(int boostValue)
Definition
ahx_rpc.c:120
AHX_LoadSongBuffer
int AHX_LoadSongBuffer(char *songdata, int songsize)
Definition
ahx_rpc.c:145
AHX_Init
int AHX_Init()
Definition
ahx_rpc.c:75
AHX_Play
int AHX_Play()
Definition
ahx_rpc.c:86
AHX_SetVolume
int AHX_SetVolume(int volumePercentage)
Definition
ahx_rpc.c:111
AHX_SubSong
int AHX_SubSong(int songNo)
Definition
ahx_rpc.c:102
AHX_ToggleOversampling
int AHX_ToggleOversampling()
Definition
ahx_rpc.c:129
AHX_Quit
int AHX_Quit()
Definition
ahx_rpc.c:137
AHX_Pause
int AHX_Pause()
Definition
ahx_rpc.c:94
AHX_LoadSong
int AHX_LoadSong(char *filename)
Definition
ahx_rpc.c:162
core
ahx
include
ahx_rpc.h
Generated by
1.18.0