volume and pan control

git-svn-id: svn://kolibrios.org@368 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2007-02-22 06:40:13 +00:00
parent ea06a9a084
commit cdfbfc7683
11 changed files with 481 additions and 378 deletions

View File

@@ -26,10 +26,10 @@ proc _InitSound@0
mov ebx, 16
mov ecx, szInfinity
int 0x40
mov [hSound], eax
test eax, eax
jz .fail
mov [hSound], eax
mov eax, 68
mov ebx, 16
mov ecx, szSound
@@ -50,7 +50,9 @@ proc _InitSound@0
mov ebx, 17
lea ecx, [handle]
int 0x40
.fail:
.fail:
.done:
pop ecx
pop ebx
ret