[wdmaudiodev] Re: The Last Buffer's Notice

  • From: "Jeff Pages" <jeff@xxxxxxxxxxxxxxxx>
  • To: <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 26 May 2003 09:44:14 +1000

From the documentation on the wave callback functions, you must never call
any of the wave functions (like waveXXXUnprepareHeader), or any Win32
functions except for a short list of exceptions, from within a callback
function. Apparently doing this causes severe internal corruption in the
waveXXX system.

Jeff Pages
Innes Corporation Pty Ltd

----- Original Message -----
From: "Joaquin Martinez Vizuete" <xvizuete@xxxxxxxxxxx>
To: <wdmaudiodev@xxxxxxxxxxxxx>
Sent: Friday, May 23, 2003 9:27 AM
Subject: [wdmaudiodev] The Last Buffer's Notice


>
> Hello World,
>
> I have just suscribed and I'd like to solve a little problem with your
help.
> Excuse my spanglish.
>
> Up to now, I was working with CallBack functions to manage a multibuffer
> thread with W9x.
> The appropiate WOM_DONE messages was comming over the process and,
> naturally, the buffer
> count was easy inside the CB func. This way, some functions like
> waveOutUnprepareHeader,
> waveOutClose and 'FreeMem' were called at the end of the audio sequence.
> Finally I'd recive
> a WOM_CLOSE message. Fine!
>
> Now I'm checking it with Windows XP. Almost every Buffer is sent to the
> output device,
> but the WOM_CLOSE message is missing. In addition, there are 'collateral
> damage' making
> new buffers and waveheaders.  ¿?¿¿
>
> I would be very pleased if you could help me about this subject.
> Anyway, than you for your time.
>
>
> Regards,
> Joaquin.
>
> _________________________________________________________________
> Descubre el mayor catálogo de coches de la Red en MSN Motor.
> http://motor.msn.es/researchcentre/
>
> ******************
>
> WDMAUDIODEV addresses:
> Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
> Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
> Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
> Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx
>
> URL to WDMAUDIODEV page:
> http://www.wdmaudiodev.de/
>
>
>


******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.de/

Other related posts: