diff options
author | Chris Apers | 2004-11-09 10:45:47 +0000 |
---|---|---|
committer | Chris Apers | 2004-11-09 10:45:47 +0000 |
commit | 618971dd2fbee8b075b7c888f3abdff8aba47897 (patch) | |
tree | 50350983581f5ba727b372d6dca7b611dcef3994 /backends/PalmOS/Src/init_pa1lib.h | |
parent | 463544099832fd8af37b813afc7c3fffc96e78aa (diff) | |
download | scummvm-rg350-618971dd2fbee8b075b7c888f3abdff8aba47897.tar.gz scummvm-rg350-618971dd2fbee8b075b7c888f3abdff8aba47897.tar.bz2 scummvm-rg350-618971dd2fbee8b075b7c888f3abdff8aba47897.zip |
Gathered common functions into new source files
svn-id: r15743
Diffstat (limited to 'backends/PalmOS/Src/init_pa1lib.h')
-rw-r--r-- | backends/PalmOS/Src/init_pa1lib.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/backends/PalmOS/Src/init_pa1lib.h b/backends/PalmOS/Src/init_pa1lib.h new file mode 100644 index 0000000000..c3ac12b05a --- /dev/null +++ b/backends/PalmOS/Src/init_pa1lib.h @@ -0,0 +1,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
\ No newline at end of file |