Rev 300 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 300 | Rev 333 | ||
---|---|---|---|
Line 330... | Line 330... | ||
330 | for (i=0; i |
330 | for (i=0; i |
331 | { |
331 | { |
332 | channels[i] = 0; |
332 | channels[i] = 0; |
333 | } |
333 | } |
Line 334... | Line 334... | ||
334 | 334 | ||
335 | for (i=-128 ; i<128 ; i++) |
335 | // for (i=-128 ; i<128 ; i++) |
Line 336... | Line 336... | ||
336 | steptablemid[i] = (int)(pow(2.0, (i/64.0))*65536.0); |
336 | // steptablemid[i] = (int)(pow(2.0, (i/64.0))*65536.0); |
337 | 337 | ||
338 | // Generates volume lookup tables |
338 | // Generates volume lookup tables |
339 | // which also turn the unsigned samples |
339 | // which also turn the unsigned samples |
Line 513... | Line 513... | ||
513 | 513 | ||
514 | // Increment current pointers in mixbuffer. |
514 | // Increment current pointers in mixbuffer. |
515 | leftout += step; |
515 | leftout += step; |
516 | rightout += step; |
516 | rightout += step; |
517 | } |
517 | } |
518 | I_SubmitSound(mixbuffer); |
518 | // I_SubmitSound(mixbuffer); |
Line 519... | Line 519... | ||
519 | } |
519 | } |
520 | 520 |