PS2SDK
PS2 Homebrew Libraries
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#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
31extern "C" {
32#endif
33
39int AHX_Init();
40
49int AHX_LoadSongBuffer(char* songdata, int songsize);
50
58int AHX_LoadSong(char* filename);
59
67int AHX_SubSong(int songNo);
68
75int AHX_SetVolume(int volumePercentage);
76
85int AHX_SetBoost(int boostValue);
86
95
102int AHX_Quit();
103
109int AHX_Play();
110
116int AHX_Pause();
117
118#ifdef __cplusplus
119}
120#endif
121
122#endif /* __AHX_H__ */
int AHX_SetBoost(int boostValue)
Definition ahx_rpc.c:132
int AHX_LoadSongBuffer(char *songdata, int songsize)
Definition ahx_rpc.c:175
int AHX_Init()
Definition ahx_rpc.c:48
int AHX_Play()
Definition ahx_rpc.c:74
int AHX_SetVolume(int volumePercentage)
Definition ahx_rpc.c:117
int AHX_SubSong(int songNo)
Definition ahx_rpc.c:102
int AHX_ToggleOversampling()
Definition ahx_rpc.c:147
int AHX_Quit()
Definition ahx_rpc.c:161
int AHX_Pause()
Definition ahx_rpc.c:88
int AHX_LoadSong(char *filename)
Definition ahx_rpc.c:199