Infinity: return proper size for ring buffers
git-svn-id: svn://kolibrios.org@5273 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
d1a5bee94f
commit
3c66f47b1e
@ -303,7 +303,13 @@ align 4
|
||||
|
||||
align 4
|
||||
.snd_getbuffsize:
|
||||
test [edx+STREAM.format], PCM_RING
|
||||
mov eax, [edx+STREAM.in_size]
|
||||
jz @F
|
||||
|
||||
mov eax, [edx+STREAM.r_size]
|
||||
add eax, eax
|
||||
@@:
|
||||
mov ecx, [edi+IOCTL.output]
|
||||
mov ecx, [ecx]
|
||||
mov [ecx], eax
|
||||
|
Loading…
Reference in New Issue
Block a user