This repository has been archived by the owner on Sep 8, 2019. It is now read-only.
/
APU.h
74 lines (54 loc) · 1.48 KB
/
APU.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/*-----------------------------------------------------------------------------
[APU.h]
APUを記述するのに必要な定義および
関数のプロトタイプ宣言を行ないます.
Copyright (C) 2004 Ki
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
**---------------------------------------------------------------------------*/
#ifndef APU_H_INCLUDED
#define APU_H_INCLUDED
#include <stdio.h>
#include "TypeDefs.h"
/*-----------------------------------------------------------------------------
** 関数のプロトタイプ宣言を行ないます.
**---------------------------------------------------------------------------*/
BOOL
APU_Init(
Uint32 sampleRate,
Uint32 bufSize); // in samples
void
APU_Deinit();
//Kitao更新
BOOL
APU_Reset();
void
APU_Pause(
BOOL bPause);
BOOL
APU_SetSampleRate(
Uint32 sampleRate);
BOOL
APU_SetBufferSize(
Uint32 bufSize);
void
APU_SetVolume(
Uint32 volume);
//Kitao追加
BOOL
APU_GetApuBusy();
void
APU_AdvanceClock();
BOOL
APU_SaveState(
FILE* p);
BOOL
APU_LoadState(
FILE* p);
#endif /* APU_H_INCLUDED */