aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS/Src/init_pa1lib.h
blob: c3ac12b05a99ad99876a37fc92601d6155cc89b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef INIT_PA1LIB_H
#define INIT_PA1LIB_H

// need to move this on a .h file
#define sonySysFileCSystem			'SsYs'  /* Sony overall System */
#define sonySysFtrCreatorSystem		sonySysFileCSystem

#define sonySysFtrNumSystemBase						10000
#define sonySysFtrNumSystemAOutSndStateOnHandlerP	(sonySysFtrNumSystemBase + 4)
#define sonySysFtrNumSystemAOutSndStateOffHandlerP	(sonySysFtrNumSystemBase + 5)

typedef void (*sndStateOnType)	(UInt8 /* kind */, UInt8 /* L volume 0-31 */, UInt8 /* R volume 0-31 */);
typedef void (*sndStateOffType)	(UInt8 /* kind */);

/* kind */
#define aOutSndKindSp       (0) /* Speaker volume */
#define aOutSndKindHp       (2) /* HeadPhone volume */

void Pa1libInit();
void Pa1libRelease();

#endif