Board index » delphi » How do I write a WaveOutOpen callback proc?
Dell
![]() Delphi Developer |
Fri, 13 Nov 1998 03:00:00 GMT
How do I write a WaveOutOpen callback proc?I don't know how to make a "callbacked" procedure when playing continuous sound. Currently I call WaveOutOpen with no callback, play my sound buffer (WavePrepareHeader & WaveOutWrite), then Instead of this: I would like to do this: I think this way my program could continue without delay. When the buffer is done (?), WaveCallback would The problem is, I don't know how to declare my WaveCallback procedure. What are the parameters? I am not at all a novice programmer, but my experience is mostly in DOS. I'm fairly new to Windows Please reply by email or send me a note to check here. Thanks, Walton Dell |