-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
audiotag.dpr
81 lines (73 loc) · 2.38 KB
/
audiotag.dpr
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
75
76
77
78
79
80
81
library audiotag;
uses
FastMM4 in 'FastMM4.pas',
Windows, SysUtils, Classes,
unit_string in 'hi_unit\unit_string.pas',
hima_types in 'hi_unit\hima_types.pas',
mt19937 in 'hi_unit\mt19937.pas',
dll_plugin_helper in 'hi_unit\dll_plugin_helper.pas',
dnako_import in 'hi_unit\dnako_import.pas',
dnako_import_types in 'hi_unit\dnako_import_types.pas',
dll_audiotag_function in 'hi_unit\dll_audiotag_function.pas',
WAVfile in 'hi_unit\audiotag\WAVfile.pas',
WMAfile in 'hi_unit\audiotag\WMAfile.pas',
AACfile in 'hi_unit\audiotag\AACfile.pas',
APEtag in 'hi_unit\audiotag\APEtag.pas',
CDAtrack in 'hi_unit\audiotag\CDAtrack.pas',
FLACfile in 'hi_unit\audiotag\FLACfile.pas',
fnmatch in 'hi_unit\audiotag\fnmatch.pas',
ID3v1 in 'hi_unit\audiotag\ID3v1.pas',
ID3v2 in 'hi_unit\audiotag\ID3v2.pas',
Monkey in 'hi_unit\audiotag\Monkey.pas',
MPEGaudio in 'hi_unit\audiotag\MPEGaudio.pas',
MPEGplus in 'hi_unit\audiotag\MPEGplus.pas',
OggVorbis in 'hi_unit\audiotag\OggVorbis.pas',
MP4file in 'hi_unit\audiotag\MP4file.pas',
sMediaTagReader in 'hi_unit\audiotag\sMediaTagReader.pas',
TwinVQ in 'hi_unit\audiotag\TwinVQ.pas',
sMediaTag in 'hi_unit\audiotag\sMediaTag.pas',
jconvertex in 'hi_unit\jconvertex.pas',
jconvert in 'hi_unit\jconvert.pas',
unit_string2 in 'hi_unit\unit_string2.pas';
//------------------------------------------------------------------------------
// Plug-in import function
procedure ImportNakoFunction; stdcall;
begin
RegistFunction;
end;
//------------------------------------------------------------------------------
// プラグインの情報
function PluginInfo(str: PChar; len: Integer): Integer; stdcall;
const STR_INFO = 'オーディオタグ取得プラグイン by クジラ飛行机';
begin
Result := Length(STR_INFO);
if (str <> nil)and(len > 0) then
begin
StrLCopy(str, STR_INFO, len);
end;
end;
//------------------------------------------------------------------------------
function PluginVersion: DWORD; stdcall;
begin
Result := 2;
end;
function PluginRequire: DWORD; stdcall;
begin
Result := 2;
end;
procedure PluginInit(Handle: DWORD); stdcall;
begin
dnako_import_initFunctions(Handle);
end;
function PluginFin: DWORD; stdcall;
begin
Result := 0;
end;
exports
ImportNakoFunction,
PluginInfo,
PluginVersion,
PluginRequire,
PluginInit;
begin
end.