ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
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 #ifndef __AHX_H__
17 #define __AHX_H__
18 
19 #define AHX_IRX 0xC001D0E
20 #define AHX_INIT 0x01
21 #define AHX_PLAY 0x02
22 #define AHX_PAUSE 0x03
23 #define AHX_QUIT 0x04
24 #define AHX_LOADSONG 0x05
25 #define AHX_SETVOLUME 0x06
26 #define AHX_SETBOOST 0x07
27 #define AHX_OVERSAMPLING 0x08
28 #define AHX_SUBSONG 0x09
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
39 int AHX_Init();
40 
49 int AHX_LoadSongBuffer(char* songdata, int songsize);
50 
58 int AHX_LoadSong(char* filename);
59 
67 int AHX_SubSong(int songNo);
68 
75 int AHX_SetVolume(int volumePercentage);
76 
85 int AHX_SetBoost(int boostValue);
86 
95 
102 int AHX_Quit();
103 
109 int AHX_Play();
110 
116 int AHX_Pause();
117 
118 #ifdef __cplusplus
119 }
120 #endif
121 
122 #endif /* __AHX_H__ */
int AHX_SetBoost(int boostValue)
Definition: ahx_rpc.c:127
int AHX_LoadSongBuffer(char *songdata, int songsize)
Definition: ahx_rpc.c:167
int AHX_Init()
Definition: ahx_rpc.c:48
int AHX_Play()
Definition: ahx_rpc.c:73
int AHX_SetVolume(int volumePercentage)
Definition: ahx_rpc.c:113
int AHX_SubSong(int songNo)
Definition: ahx_rpc.c:99
int AHX_ToggleOversampling()
Definition: ahx_rpc.c:141
int AHX_Quit()
Definition: ahx_rpc.c:154
int AHX_Pause()
Definition: ahx_rpc.c:86
int AHX_LoadSong(char *filename)
Definition: ahx_rpc.c:191