Rev 444 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 444 | Rev 462 | ||
---|---|---|---|
Line 8... | Line 8... | ||
8 | ; (C) copyright Serge 2006 |
8 | ; (C) copyright Serge 2006 |
9 | ; email: infinity_sound@mail.ru |
9 | ; email: infinity_sound@mail.ru |
Line 10... | Line 10... | ||
10 | 10 | ||
Line -... | Line 11... | ||
- | 11 | format MS COFF |
|
- | 12 | ||
- | 13 | API_VERSION equ 0x01000100 |
|
- | 14 | SOUND_VERSION equ API_VERSION |
|
11 | format MS COFF |
15 | |
12 | 16 | ||
13 | include 'proc32.inc' |
17 | include 'proc32.inc' |
Line 14... | Line 18... | ||
14 | include 'main.inc' |
18 | include 'main.inc' |
Line 158... | Line 162... | ||
158 | mov eax, [edi+io_code] |
162 | mov eax, [edi+io_code] |
Line 159... | Line 163... | ||
159 | 163 | ||
160 | cmp eax, SRV_GETVERSION |
164 | cmp eax, SRV_GETVERSION |
161 | jne @F |
165 | jne @F |
- | 166 | mov eax, [edi+output] |
|
- | 167 | cmp [edi+out_size], 4 |
|
162 | mov eax, [edi+output] |
168 | jne .fail |
163 | mov eax, [eax] |
169 | mov eax, [eax] |
164 | mov [eax], dword SOUND_VERSION |
170 | mov [eax], dword SOUND_VERSION |
165 | xor eax, eax |
171 | xor eax, eax |
166 | ret |
172 | ret |
Line 1243... | Line 1249... | ||
1243 | vol_max dd 0x00000000,0x00000000 |
1249 | vol_max dd 0x00000000,0x00000000 |
1244 | vol_min dd 0x0000D8F0,0x0000D8F0 |
1250 | vol_min dd 0x0000D8F0,0x0000D8F0 |
1245 | pan_max dd 0x00002710,0x00002710 |
1251 | pan_max dd 0x00002710,0x00002710 |
Line 1246... | Line 1252... | ||
1246 | 1252 | ||
1247 | ;stream_map dd 0xFFFF ; 16 |
1253 | ;stream_map dd 0xFFFF ; 16 |
Line 1248... | Line 1254... | ||
1248 | version dd (4 shl 16) or (SOUND_VERSION and 0xFFFF) |
1254 | version dd (5 shl 16) or (SOUND_VERSION and 0xFFFF) |
1249 | 1255 | ||
Line 1250... | Line 1256... | ||
1250 | szInfinity db 'INFINITY',0 |
1256 | szInfinity db 'INFINITY',0 |
Line 1275... | Line 1281... | ||
1275 | 1281 | ||
1276 | mix_2_core rd 1 |
1282 | mix_2_core rd 1 |
1277 | mix_3_core rd 1 |
1283 | mix_3_core rd 1 |
Line -... | Line 1284... | ||
- | 1284 | mix_4_core rd 1 |
|
- | 1285 | ||
- | 1286 | ||
- | 1287 | ||
- | 1288 |