Mercurial > hg > forks > pwpunix
comparison pwplib/snd-w32.c @ 17:c60e531d19cd
Some misc. cleanups and minor warning removals.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 22 May 2010 20:32:49 +0300 |
parents | acb5694e93d9 |
children | b9d679965320 |
comparison
equal
deleted
inserted
replaced
16:e3b0773ba1be | 17:c60e531d19cd |
---|---|
131 (DWORD)win32snd_callback,0, | 131 (DWORD)win32snd_callback,0, |
132 CALLBACK_FUNCTION); | 132 CALLBACK_FUNCTION); |
133 if(r) { printf("ERROR\n"); } | 133 if(r) { printf("ERROR\n"); } |
134 } | 134 } |
135 | 135 |
136 pwp_regdestr(win32snd_restore); | 136 pwplib_regdestr(win32snd_restore); |
137 | 137 |
138 // pwp_w32snd.buffersize = waveFormat.nAvgBytesPerSec/TIMERHZ; | 138 // pwp_w32snd.buffersize = waveFormat.nAvgBytesPerSec/TIMERHZ; |
139 | 139 |
140 pwplib.loopflush = win32snd_start; | 140 pwplib.loopflush = win32snd_start; |
141 | 141 |