sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
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
32extern "C" {
33#endif
34
40extern int AHX_Init();
41
50extern int AHX_LoadSongBuffer(char* songdata, int songsize);
51
59extern int AHX_LoadSong(char* filename);
60
68extern int AHX_SubSong(int songNo);
69
76extern int AHX_SetVolume(int volumePercentage);
77
86extern int AHX_SetBoost(int boostValue);
87
95extern int AHX_ToggleOversampling();
96
103extern int AHX_Quit();
104
110extern int AHX_Play();
111
117extern int AHX_Pause();
118
119#ifdef __cplusplus
120}
121#endif
122
123#endif /* __AHX_H__ */
int AHX_SetBoost(int boostValue)
Definition ahx_rpc.c:120
int AHX_LoadSongBuffer(char *songdata, int songsize)
Definition ahx_rpc.c:145
int AHX_Init()
Definition ahx_rpc.c:75
int AHX_Play()
Definition ahx_rpc.c:86
int AHX_SetVolume(int volumePercentage)
Definition ahx_rpc.c:111
int AHX_SubSong(int songNo)
Definition ahx_rpc.c:102
int AHX_ToggleOversampling()
Definition ahx_rpc.c:129
int AHX_Quit()
Definition ahx_rpc.c:137
int AHX_Pause()
Definition ahx_rpc.c:94
int AHX_LoadSong(char *filename)
Definition ahx_rpc.c:162