PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
audsrv_rpc.h
Go to the documentation of this file.
1/*
2# _____ ___ ____ ___ ____
3# ____| | ____| | | |____|
4# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5#-----------------------------------------------------------------------
6# Copyright 2005, ps2dev - http://www.ps2dev.org
7# Licenced under GNU Library General Public License version 2
8# Review ps2sdk README & LICENSE files for further details.
9*/
10
16#ifndef _AUDSRV_RPC_C_H_
17#define _AUDSRV_RPC_C_H_
18
20#define AUDSRV_INIT 0x0000
21#define AUDSRV_QUIT 0x0001
22
24#define AUDSRV_INIT 0x0000
25#define AUDSRV_QUIT 0x0001
26
28#define AUDSRV_FORMAT_OK 0x0002
29#define AUDSRV_SET_FORMAT 0x0003
30#define AUDSRV_PLAY_AUDIO 0x0004
31#define AUDSRV_WAIT_AUDIO 0x0005
32#define AUDSRV_STOP_AUDIO 0x0006
33#define AUDSRV_SET_VOLUME 0x0007
34#define AUDSRV_SET_THRESHOLD 0x0008
35
37#define AUDSRV_PLAY_CD 0x0009
38#define AUDSRV_STOP_CD 0x000a
39#define AUDSRV_GET_CDPOS 0x000b
40#define AUDSRV_GET_TRACKPOS 0x000c
41#define AUDSRV_GET_NUMTRACKS 0x000d
42#define AUDSRV_GET_TRACKOFFSET 0x000e
43#define AUDSRV_PAUSE_CD 0x0011
44#define AUDSRV_RESUME_CD 0x0012
45#define AUDSRV_PLAY_SECTORS 0x0013
46#define AUDSRV_GET_CD_STATUS 0x0014
47#define AUDSRV_GET_CD_TYPE 0x0015
48
50#define AUDSRV_INIT_ADPCM 0x0016
51#define AUDSRV_LOAD_ADPCM 0x0017
52#define AUDSRV_PLAY_ADPCM 0x0018
53#define AUDSRV_ADPCM_SET_VOLUME 0x0019
54#define AUDSRV_FREE_ADPCM 0x001c
55#define AUDSRV_IS_ADPCM_PLAYING 0x001d
56
57#define AUDSRV_AVAILABLE 0x001a
58#define AUDSRV_QUEUED 0x001b
59
60#define AUDSRV_FILLBUF_CALLBACK 0x0001
61#define AUDSRV_CDDA_CALLBACK 0x0002
62
63#endif