From edaf0b8d64ec29df02bb04c7770d1a6d443b717c Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Mon, 9 Jul 2007 01:05:41 +0000 Subject: [PATCH] update SOUND_VERSION git-svn-id: svn://kolibrios.org@574 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/drivers/infinity.asm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/kernel/trunk/drivers/infinity.asm b/kernel/trunk/drivers/infinity.asm index 5e233dad8d..7fcb3bf709 100644 --- a/kernel/trunk/drivers/infinity.asm +++ b/kernel/trunk/drivers/infinity.asm @@ -10,8 +10,12 @@ format MS COFF -API_VERSION equ 0x01000100 -SOUND_VERSION equ API_VERSION + +CURRENT_API equ 0x0101 ;1.01 +COMPATIBLE_API equ 0x0100 ;1.00 + +API_VERSION equ (COMPATIBLE_API shl 16) or CURRENT_API +SOUND_VERSION equ CURRENT_API include 'proc32.inc' @@ -167,7 +171,7 @@ proc service_proc stdcall, ioctl:dword cmp [edi+out_size], 4 jne .fail mov eax, [eax] - mov [eax], dword SOUND_VERSION + mov [eax], dword API_VERSION xor eax, eax ret @@: @@ -1253,7 +1257,7 @@ vol_min dd 0x0000D8F0,0x0000D8F0 pan_max dd 0x00002710,0x00002710 ;stream_map dd 0xFFFF ; 16 -version dd (5 shl 16) or (SOUND_VERSION and 0xFFFF) +version dd (5 shl 16) or SOUND_VERSION szInfinity db 'INFINITY',0 szSound db 'SOUND',0