annotate Media/Audio/AIL.cpp @ 2516:56b6d74ce716

.
author Ritor1
date Thu, 02 Oct 2014 22:01:06 +0600
parents a77c34acdbc9
children
rev   line source
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
1 #define _CRTDBG_MAP_ALLOC
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
2 #include <stdlib.h>
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
3 #include <crtdbg.h>
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
4
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
5 #define _CRT_SECURE_NO_WARNINGS
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
6 #include "AIL.h"
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
7
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
8
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
9
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
10
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
11 int (__stdcall *mss32_AIL_startup)() = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
12 HREDBOOK (__stdcall *mss32_AIL_redbook_open_drive)(long) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
13 int (__stdcall *mss32_AIL_set_preference)(unsigned int, int) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
14 int (__stdcall *mss32_AIL_waveOutOpen)(HDIGDRIVER *, HWAVEOUT *, int, WAVEFORMAT *) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
15 int (__stdcall *mss32_AIL_get_preference)(unsigned int) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
16 int (__stdcall *mss32_AIL_digital_configuration)(HDIGDRIVER, int *, int *, char *) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
17 HSAMPLE (__stdcall *mss32_AIL_allocate_sample_handle)(HDIGDRIVER) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
18 void (__stdcall *mss32_AIL_3D_provider_attribute)(HPROVIDER, char *, void *) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
19 unsigned int (__stdcall *mss32_AIL_redbook_tracks)(HREDBOOK) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
20 int (__stdcall *mss32_AIL_redbook_volume)(HREDBOOK) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
21 unsigned int (__stdcall *mss32_AIL_redbook_stop)(HREDBOOK) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
22 void (__stdcall *mss32_AIL_set_digital_master_volume)(HDIGDRIVER, float) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
23 int (__stdcall *mss32_AIL_redbook_set_volume)(HREDBOOK, int) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
24 void (__stdcall *mss32_AIL_waveOutClose)(HDIGDRIVER) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
25 unsigned int (__stdcall *mss32_AIL_redbook_pause)(HREDBOOK) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
26 void (__stdcall *mss32_AIL_redbook_track_info)(HREDBOOK, unsigned int, unsigned int *, unsigned int *) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
27 unsigned int (__stdcall *mss32_AIL_redbook_play)(HREDBOOK, unsigned int, unsigned int) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
28 unsigned int (__stdcall *mss32_AIL_redbook_resume)(HREDBOOK) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
29 AIL::Sample::Status (__stdcall *mss32_AIL_sample_status)(HSAMPLE) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
30 int (__stdcall *mss32_AIL_sample_volume)(HSAMPLE) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
31 int (__stdcall *mss32_AIL_enumerate_3D_providers)(int *, HPROVIDER *, char **) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
32 DWORD (__stdcall *mss32_AIL_open_3D_provider)(HPROVIDER) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
33 int (__stdcall *mss32_AIL_end_sample)(HSAMPLE) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
34 int (__stdcall *mss32_AIL_set_sample_volume)(HSAMPLE, long) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
35 int (__stdcall *mss32_AIL_set_sample_pan)(HSAMPLE, long) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
36 void (__stdcall *mss32_AIL_end_sequence)(HSEQUENCE) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
37 void (__stdcall *mss32_AIL_pause_stream)(HSTREAM, int) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
38 void (__stdcall *mss32_AIL_init_sample)(HSAMPLE) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
39 int (__stdcall *mss32_AIL_set_sample_file)(HSAMPLE, const void *, int) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
40 void (__stdcall *mss32_AIL_set_sample_loop_count)(HSAMPLE, int) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
41 void (__stdcall *mss32_AIL_set_sample_playback_rate)(HSAMPLE, int) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
42 void (__stdcall *mss32_AIL_sample_ms_position)(HSAMPLE, int *, int *) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
43 int (__stdcall *mss32_AIL_start_sample)(HSAMPLE) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
44 AILFILETYPE (__stdcall *mss32_AIL_file_type)(void *, int) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
45 int (__stdcall *mss32_AIL_WAV_info)(void *, AILSOUNDINFO *) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
46 int (__stdcall *mss32_AIL_decompress_ADPCM)(AILSOUNDINFO *, void *, void *) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
47 HREDBOOK (__stdcall *mss32_AIL_redbook_open)(int) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
48 void (__stdcall *mss32_AIL_release_sample_handle)(HSAMPLE) = 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
49 void MSS32_DLL_Initialize()
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
50 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
51 HMODULE pDll = LoadLibraryW(L"mss32.dll");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
52
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
53 mss32_AIL_startup = (int (__stdcall *)())GetProcAddress(pDll, "_AIL_startup@0");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
54 mss32_AIL_redbook_open_drive = (HREDBOOK (__stdcall *)(long))GetProcAddress(pDll, "_AIL_redbook_open_drive@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
55 mss32_AIL_set_preference = (int (__stdcall *)(unsigned int, int))GetProcAddress(pDll, "_AIL_set_preference@8");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
56 mss32_AIL_waveOutOpen = (int (__stdcall *)(HDIGDRIVER *, HWAVEOUT *, int, WAVEFORMAT *))GetProcAddress(pDll, "_AIL_waveOutOpen@16");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
57 mss32_AIL_get_preference = (int (__stdcall *)(unsigned int))GetProcAddress(pDll, "_AIL_get_preference@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
58 mss32_AIL_digital_configuration = (int (__stdcall *)(HDIGDRIVER, int *, int *, char *))GetProcAddress(pDll, "_AIL_digital_configuration@16");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
59 mss32_AIL_allocate_sample_handle = (HSAMPLE (__stdcall *)(HDIGDRIVER))GetProcAddress(pDll, "_AIL_allocate_sample_handle@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
60 mss32_AIL_3D_provider_attribute = (void (__stdcall *)(HPROVIDER,char *, void *))GetProcAddress(pDll, "_AIL_3D_provider_attribute@12");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
61 mss32_AIL_redbook_tracks = (unsigned int (__stdcall *)(HREDBOOK))GetProcAddress(pDll, "_AIL_redbook_tracks@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
62 mss32_AIL_redbook_volume = (int (__stdcall *)(HREDBOOK))GetProcAddress(pDll, "_AIL_redbook_volume@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
63 mss32_AIL_redbook_stop = (unsigned int (__stdcall *)(HREDBOOK))GetProcAddress(pDll, "_AIL_redbook_stop@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
64 mss32_AIL_set_digital_master_volume = (void (__stdcall *)(HDIGDRIVER, float))GetProcAddress(pDll, "_AIL_set_digital_master_volume@8");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
65 mss32_AIL_redbook_set_volume = (int (__stdcall *)(HREDBOOK, int))GetProcAddress(pDll, "_AIL_redbook_set_volume@8");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
66 mss32_AIL_waveOutClose = (void (__stdcall *)(HDIGDRIVER))GetProcAddress(pDll, "_AIL_waveOutClose@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
67 mss32_AIL_redbook_pause = (unsigned int (__stdcall *)(HREDBOOK))GetProcAddress(pDll, "_AIL_redbook_pause@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
68 mss32_AIL_redbook_track_info = (void (__stdcall *)(HREDBOOK, unsigned int, unsigned int *, unsigned int *))GetProcAddress(pDll, "_AIL_redbook_track_info@16");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
69 mss32_AIL_redbook_play = (unsigned int (__stdcall *)(HREDBOOK, unsigned int, unsigned int))GetProcAddress(pDll, "_AIL_redbook_play@12");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
70 mss32_AIL_redbook_resume = (unsigned int (__stdcall *)(HREDBOOK))GetProcAddress(pDll, "_AIL_redbook_resume@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
71 mss32_AIL_sample_status = (AIL::Sample::Status (__stdcall *)(HSAMPLE))GetProcAddress(pDll, "_AIL_sample_status@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
72 mss32_AIL_sample_volume = (int (__stdcall *)(HSAMPLE))GetProcAddress(pDll, "_AIL_sample_volume@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
73 mss32_AIL_enumerate_3D_providers = (int (__stdcall *)(int *, HPROVIDER *, char **))GetProcAddress(pDll, "_AIL_enumerate_3D_providers@12");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
74 mss32_AIL_open_3D_provider = (DWORD (__stdcall *)(HPROVIDER))GetProcAddress(pDll, "_AIL_open_3D_provider@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
75 mss32_AIL_end_sample = (int (__stdcall *)(HSAMPLE))GetProcAddress(pDll, "_AIL_end_sample@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
76 mss32_AIL_set_sample_volume = (int (__stdcall *)(HSAMPLE, long))GetProcAddress(pDll, "_AIL_set_sample_volume@8");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
77 mss32_AIL_set_sample_pan = (int (__stdcall *)(HSAMPLE, long))GetProcAddress(pDll, "_AIL_set_sample_pan@8");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
78 mss32_AIL_end_sequence = (void (__stdcall *)(HSEQUENCE))GetProcAddress(pDll, "_AIL_end_sequence@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
79 mss32_AIL_pause_stream = (void (__stdcall *)(HSTREAM, int))GetProcAddress(pDll, "_AIL_pause_stream@8");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
80 mss32_AIL_init_sample = (void (__stdcall *)(HSAMPLE))GetProcAddress(pDll, "_AIL_init_sample@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
81 mss32_AIL_set_sample_file = (int (__stdcall *)(HSAMPLE, const void *, int))GetProcAddress(pDll, "_AIL_set_sample_file@12");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
82 mss32_AIL_set_sample_loop_count = (void (__stdcall *)(HSAMPLE, int))GetProcAddress(pDll, "_AIL_set_sample_loop_count@8");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
83 mss32_AIL_set_sample_playback_rate = (void (__stdcall *)(HSAMPLE, int))GetProcAddress(pDll, "_AIL_set_sample_playback_rate@8");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
84 mss32_AIL_sample_ms_position = (void (__stdcall *)(HSAMPLE, int *, int *))GetProcAddress(pDll, "_AIL_sample_ms_position@12");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
85 mss32_AIL_start_sample = (int (__stdcall *)(HSAMPLE))GetProcAddress(pDll, "_AIL_start_sample@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
86 mss32_AIL_file_type = (AILFILETYPE (__stdcall *)(void *, int))GetProcAddress(pDll, "_AIL_file_type@8");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
87 mss32_AIL_WAV_info = (int (__stdcall *)(void *, AILSOUNDINFO *))GetProcAddress(pDll, "_AIL_WAV_info@8");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
88 mss32_AIL_decompress_ADPCM = (int (__stdcall *)(AILSOUNDINFO *, void *, void *))GetProcAddress(pDll, "_AIL_decompress_ADPCM@12");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
89 mss32_AIL_redbook_open = (HREDBOOK (__stdcall *)(int))GetProcAddress(pDll, "_AIL_redbook_open@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
90 mss32_AIL_release_sample_handle = (void (__stdcall *)(HSAMPLE))GetProcAddress(pDll, "_AIL_release_sample_handle@4");
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
91 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
92
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
93
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
94
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
95 unsigned int __stdcall AIL_redbook_play(HREDBOOK hRedbook, unsigned int uStartMS, unsigned int uEndMS)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
96 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
97 return (mss32_AIL_redbook_play)(hRedbook, uStartMS, uEndMS);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
98 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
99
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
100 void __stdcall AIL_redbook_track_info(HREDBOOK hRedbook, unsigned int uTrackNum, unsigned int *pStartMS, unsigned int *pEndMS)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
101 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
102 (mss32_AIL_redbook_track_info)(hRedbook, uTrackNum, pStartMS, pEndMS);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
103 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
104
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
105 unsigned int __stdcall AIL_redbook_resume(HREDBOOK hRedbook)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
106 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
107 return (mss32_AIL_redbook_resume)(hRedbook);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
108 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
109
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
110 int __stdcall AIL_enumerate_3D_providers(int *a1, HPROVIDER *pOutProv, char **pOutName)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
111 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
112 return (mss32_AIL_enumerate_3D_providers)(a1, pOutProv, pOutName);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
113 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
114 HREDBOOK __stdcall AIL_redbook_open(int w)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
115 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
116 return (mss32_AIL_redbook_open)(w);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
117 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
118
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
119
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
120 int __stdcall AIL_sample_volume(HSAMPLE s)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
121 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
122 return (mss32_AIL_sample_volume)(s);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
123 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
124
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
125 AIL::Sample::Status __stdcall AIL_sample_status(HSAMPLE a1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
126 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
127 return (mss32_AIL_sample_status)(a1);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
128 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
129
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
130 // sub_4D8304: using guessed type int __stdcall AIL_set_digital_master_volume(_DWORD, _DWORD);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
131 void __stdcall AIL_set_digital_master_volume(HDIGDRIVER hDrv, float master_volume)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
132 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
133 (mss32_AIL_set_digital_master_volume)(hDrv, master_volume);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
134 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
135
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
136 // sub_4D8370: using guessed type int __stdcall AIL_allocate_sample_handle(_DWORD);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
137 HSAMPLE __stdcall AIL_allocate_sample_handle(HDIGDRIVER hDrv)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
138 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
139 return (mss32_AIL_allocate_sample_handle)(hDrv);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
140 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
141
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
142 // sub_4D8308: using guessed type int __fastcall AIL_redbook_set_volume(_DWORD, _DWORD, _DWORD, _DWORD);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
143 int __stdcall AIL_redbook_set_volume(HREDBOOK hRedbook, int volume)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
144 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
145 return (mss32_AIL_redbook_set_volume)(hRedbook, volume);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
146 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
147
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
148 // sub_4D8324: using guessed type int __stdcall AIL_redbook_stop(_DWORD);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
149 unsigned int __stdcall AIL_redbook_stop(HREDBOOK hRedbook)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
150 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
151 return (mss32_AIL_redbook_stop)(hRedbook);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
152 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
153
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
154 // sub_4D835C: using guessed type int __stdcall AIL_startup();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
155 int __stdcall AIL_startup()
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
156 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
157 return (mss32_AIL_startup)();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
158 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
159
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
160 // sub_4D8360: using guessed type int __stdcall AIL_redbook_open_drive(_DWORD);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
161 HREDBOOK __stdcall AIL_redbook_open_drive(long drive)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
162 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
163 return (mss32_AIL_redbook_open_drive)(drive);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
164 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
165
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
166 // sub_4D834C: using guessed type int __stdcall AIL_waveOutOpen(_DWORD, _DWORD, _DWORD, _DWORD);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
167 int __stdcall AIL_waveOutOpen(_DIG_DRIVER **drv, HWAVEOUT *phWaveOut, int wDeviceID, WAVEFORMAT *pFormat)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
168 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
169 return (mss32_AIL_waveOutOpen)(drv, phWaveOut, wDeviceID, pFormat);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
170 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
171
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
172
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
173 DWORD __stdcall AIL_open_3D_provider(HPROVIDER a2)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
174 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
175 return (mss32_AIL_open_3D_provider)(a2);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
176 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
177
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
178 void __stdcall AIL_3D_provider_attribute(HPROVIDER lib, char *name, void *val)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
179 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
180 (mss32_AIL_3D_provider_attribute)(lib,name,val);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
181 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
182
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
183 // sub_4D8374: using guessed type int __stdcall AIL_redbook_tracks(_DWORD);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
184 unsigned int __stdcall AIL_redbook_tracks(HREDBOOK hRedbook)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
185 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
186 return (mss32_AIL_redbook_tracks)(hRedbook);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
187 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
188
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
189 // sub_4D83B0: using guessed type int __stdcall AIL_redbook_volume(_DWORD);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
190 int __stdcall AIL_redbook_volume(HREDBOOK hRedbook)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
191 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
192 return (mss32_AIL_redbook_volume)(hRedbook);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
193 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
194
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
195 // sub_4D8348: using guessed type int __stdcall AIL_set_preference(_DWORD, _DWORD);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
196 int __stdcall AIL_set_preference(unsigned int number, int value)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
197 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
198 return (mss32_AIL_set_preference)(number, value);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
199 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
200
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
201 // sub_4D8350: using guessed type int __stdcall AIL_digital_configuration(_DWORD, _DWORD, _DWORD, _DWORD);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
202 int __stdcall AIL_digital_configuration(HDIGDRIVER drv, int *rate, int *format, char *string)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
203 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
204 return (mss32_AIL_digital_configuration)(drv, rate, format, string);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
205 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
206
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
207 // sub_4D8354: using guessed type int __stdcall AIL_get_preference(_DWORD);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
208 int __stdcall AIL_get_preference(unsigned int number)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
209 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
210 return (mss32_AIL_get_preference)(number);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
211 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
212
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
213 void __stdcall AIL_waveOutClose(HDIGDRIVER drvr)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
214 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
215 (mss32_AIL_waveOutClose)(drvr);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
216 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
217
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
218 // sub_4D8320: using guessed type int __stdcall AIL_redbook_pause(_DWORD);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
219 unsigned int __stdcall AIL_redbook_pause(HREDBOOK hRedbook)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
220 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
221 return (mss32_AIL_redbook_pause)(hRedbook);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
222 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
223
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
224 int __stdcall AIL_set_3D_provider_preference(HPROVIDER a1, const char *a2, int *a3)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
225 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
226 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
227 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
228 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
229
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
230 int __stdcall AIL_allocate_3D_sample_handle(HPROVIDER)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
231 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
232 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
233 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
234 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
235
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
236 int __stdcall AIL_set_3D_sample_float_distances(void *a1, long a2, long a3, long a4, long a5)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
237 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
238 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
239 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
240 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
241
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
242 int __stdcall AIL_set_3D_sample_volume(void *a1, long a2)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
243 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
244 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
245 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
246 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
247
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
248 void __stdcall AIL_release_sample_handle(HSAMPLE s)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
249 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
250 (mss32_AIL_release_sample_handle)(s);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
251 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
252
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
253 int __stdcall AIL_release_3D_sample_handle(void *a1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
254 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
255 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
256 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
257 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
258
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
259 int __stdcall AIL_close_3D_provider(HPROVIDER)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
260 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
261 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
262 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
263 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
264
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
265 int __stdcall AIL_redbook_close(HREDBOOK a1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
266 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
267 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
268 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
269 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
270
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
271 // sub_4D8344: using guessed type int __stdcall AIL_shutdown();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
272 int __stdcall AIL_shutdown()
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
273 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
274 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
275 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
276 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
277
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
278 int __stdcall AIL_end_sample(HSAMPLE a1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
279 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
280 return (mss32_AIL_end_sample)(a1);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
281 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
282
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
283 int __stdcall AIL_end_3D_sample(void *a1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
284 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
285 __debugbreak();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
286 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
287 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
288
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
289
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
290 void __stdcall AIL_end_sequence(HSEQUENCE a1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
291 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
292 (mss32_AIL_end_sequence)(a1);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
293 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
294
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
295 void __stdcall AIL_pause_stream(HSTREAM a1, int onoff)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
296 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
297 (mss32_AIL_pause_stream)(a1, onoff);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
298 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
299
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
300 int __stdcall AIL_set_sample_file(HSAMPLE s, const void *file_image, int block)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
301 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
302 return (mss32_AIL_set_sample_file)(s, file_image, block);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
303 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
304
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
305 int __stdcall AIL_start_sample(HSAMPLE s)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
306 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
307 return (mss32_AIL_start_sample)(s);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
308 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
309
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
310 void __stdcall AIL_set_sample_playback_rate(HSAMPLE s, int rate)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
311 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
312 (mss32_AIL_set_sample_playback_rate)(s, rate);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
313 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
314
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
315 void __stdcall AIL_sample_ms_position(HSAMPLE s, int *pTotalMS, int *pCurrentMS)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
316 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
317 (mss32_AIL_sample_ms_position)(s, pTotalMS, pCurrentMS);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
318 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
319
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
320 int __stdcall AIL_3D_sample_status(void *a1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
321 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
322 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
323 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
324 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
325
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
326 void __stdcall AIL_set_sample_loop_count(HSAMPLE s, int num)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
327 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
328 (mss32_AIL_set_sample_loop_count)(s, num);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
329 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
330
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
331 int __stdcall AIL_set_sample_volume(HSAMPLE a1, long a2)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
332 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
333 return (mss32_AIL_set_sample_volume)(a1, a2);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
334 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
335
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
336 int __stdcall AIL_3D_position(void *a1, int *a2, float *a3, long *a4)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
337 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
338 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
339 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
340 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
341
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
342 int __stdcall AIL_set_3D_sample_file(long a1, void *a2)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
343 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
344 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
345 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
346 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
347
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
348 int __stdcall AIL_set_3D_sample_loop_count(long a1, long a2)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
349 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
350 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
351 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
352 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
353
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
354 int __stdcall AIL_start_3D_sample(long a1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
355 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
356 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
357 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
358 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
359
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
360 int __stdcall AIL_set_3D_position(void *hSample, long a2, long a3, long a4)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
361 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
362 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
363 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
364 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
365
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
366 int __stdcall AIL_set_3D_orientation(void *hSample, long a2, long a3, long a4, long a5, long a6, long a7)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
367 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
368 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
369 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
370 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
371
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
372 void __stdcall AIL_init_sample(HSAMPLE a1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
373 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
374 (mss32_AIL_init_sample)(a1);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
375 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
376
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
377 int __stdcall AIL_set_sample_pan(HSAMPLE a1, long a2)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
378 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
379 return (mss32_AIL_set_sample_pan)(a1, a2);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
380 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
381
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
382
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
383 AILFILETYPE __stdcall AIL_file_type(void *pSoundBytes, int numBytes)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
384 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
385 return (mss32_AIL_file_type)(pSoundBytes, numBytes);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
386 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
387
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
388 int __stdcall AIL_WAV_info(void *pSoundBytes, AILSOUNDINFO *pInfo)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
389 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
390 return (mss32_AIL_WAV_info)(pSoundBytes, pInfo);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
391 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
392
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
393 int __stdcall AIL_decompress_ADPCM(AILSOUNDINFO *pInfo, void *a2, void *a3)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
394 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
395 return (mss32_AIL_decompress_ADPCM)(pInfo, a2, a3);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
396 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
397
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
398 int __stdcall AIL_mem_free_lock(void *a1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
399 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
400 __asm int 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
401 return 0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
402 }