PS2SDK
PS2 Homebrew Libraries
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 extern int AHX_Init();
40 
49 extern int AHX_LoadSongBuffer(char* songdata, int songsize);
50 
58 extern int AHX_LoadSong(char* filename);
59 
67 extern int AHX_SubSong(int songNo);
68 
75 extern int AHX_SetVolume(int volumePercentage);
76 
85 extern int AHX_SetBoost(int boostValue);
86 
94 extern int AHX_ToggleOversampling();
95 
102 extern int AHX_Quit();
103 
109 extern int AHX_Play();
110 
116 extern int AHX_Pause();
117 
118 #ifdef __cplusplus
119 }
120 #endif
121 
122 #endif /* __AHX_H__ */
AHX_Init
int AHX_Init()
Definition: ahx_rpc.c:75
AHX_Pause
int AHX_Pause()
Definition: ahx_rpc.c:94
AHX_SetVolume
int AHX_SetVolume(int volumePercentage)
Definition: ahx_rpc.c:111
AHX_LoadSong
int AHX_LoadSong(char *filename)
Definition: ahx_rpc.c:162
AHX_Quit
int AHX_Quit()
Definition: ahx_rpc.c:137
AHX_SubSong
int AHX_SubSong(int songNo)
Definition: ahx_rpc.c:102
AHX_ToggleOversampling
int AHX_ToggleOversampling()
Definition: ahx_rpc.c:129
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_Play
int AHX_Play()
Definition: ahx_rpc.c:86