25 #define PAINTBUFFER_SIZE 2048
33 #if !((defined __linux__ || defined __FreeBSD__) && defined __i386__) || defined C_ONLY
46 else if (val < (
short)0x8000)
54 else if (val < (
short)0x8000)
68 mov ebx,ds:dword ptr[
snd_p]
71 mov eax,ds:dword ptr[-8+ebx+ecx*4]
82 mov edx,ds:dword ptr[-4+ebx+ecx*4]
96 mov ds:dword ptr[-4+edi+ecx*2],edx
116 while (lpaintedtime < endtime)
121 snd_out = (
short *) pbuf + (lpos<<1);
181 short *out = (
short *) pbuf;
188 else if (val < (
short)0x8000)
191 out_idx = (out_idx + 1) & out_mask;
196 unsigned char *out = (
unsigned char *) pbuf;
203 else if (val < (
short)0x8000)
205 out[out_idx] = (val>>8) + 128;
206 out_idx = (out_idx + 1) & out_mask;
323 if (ltime >= ch->
end)
356 for (
i=0 ;
i<32 ;
i++)
359 for (
j=0 ;
j<256 ;
j++)
365 #if !((defined __linux__ || __FreeBSD__) && defined __i386__) || defined C_ONLY
371 int *lscale, *rscale;
392 samp->
left += lscale[data];
393 samp->
right += rscale[data];
408 mov ebx,ds:dword ptr[4+16+esp]
409 mov esi,ds:dword ptr[8+16+esp]
410 mov eax,ds:dword ptr[4+ebx]
411 mov edx,ds:dword ptr[8+ebx]
423 mov edi,ds:dword ptr[16+ebx]
424 mov ecx,ds:dword ptr[12+16+esp]
429 mov ds:dword ptr[16+ebx],edi
433 mov bl,ds:
byte ptr[-1+esi+ecx*1]
436 mov edi,ds:dword ptr[eax+ebx*4]
437 mov
ebp,ds:dword ptr[edx+ebx*4]
442 mov bl,ds:
byte ptr[-2+esi+ecx*1]
446 mov edi,ds:dword ptr[eax+ebx*4]
447 mov
ebp,ds:dword ptr[edx+ebx*4]
450 mov bl,ds:
byte ptr[-2+esi+ecx*1]
453 mov edi,ds:dword ptr[eax+ebx*4]
454 mov
ebp,ds:dword ptr[edx+ebx*4]
455 mov bl,ds:
byte ptr[-3+esi+ecx*1]
478 int leftvol, rightvol;
491 left = (data * leftvol)>>8;
492 right = (data * rightvol)>>8;