Re: wave api callback mechanism



On Oct 17, 5:51 pm, voidcoder <voidco...@xxxxxxxxx> wrote:
> and just before that I also set the flag of the WAVEHDR
> structure to "not in queue"

Are you setting the WHDR_DONE flag before reporting
completion?

--
Oleg



Anwar wrote:
Hi,
I am trying to develop a waveform audio driver using UAM model.
Whenever I am done with playback of the particular WAVEHDR data I call
the callback function passed by wave audio manager using WAVEOPENDESC
structure and just before that I also set the flag of the WAVEHDR
structure to "not in queue"
But as soon as the callback function is called I get the error in
"waveapi.cpp" which obviously is not present since it is not a shared
source code
The error I get is this
"wave calllback: client header invalidated while pending"
I really dont know how to fix this.
Getting very frustrating since I cant even debug into it

Any help would be great help

Regards
Anwar- Hide quoted text -

- Show quoted text -

Yes I am still I get the error

Any idea please

Thanks
\anwar

.



Relevant Pages

  • Re: OT: load distribution algorithm
    ... The dispatcher will simply ... round robin jobs, until some queue completes a job. ... There is a global flag, ...
    (comp.lang.tcl)
  • Re: OT: load distribution algorithm
    ... and hence its queue length becomes ... I realized I could eliminate the -1 flag value ... I also arbitrarily start the roundrobin with the worker holding the ... new socket arrives, the dispatcher always makes a simple choice. ...
    (comp.lang.tcl)
  • Re: wave api callback mechanism
    ... > and just before that I also set the flag of the WAVEHDR ... > structure to "not in queue" ... Whenever I am done with playback of the particular WAVEHDR data I call ... the callback function passed by wave audio manager using WAVEOPENDESC ...
    (microsoft.public.windowsce.platbuilder)
  • Re: IF_HANDOFF vs. IFQ_HANDOFF
    ... Is IF_HANDOFF supposed to be used only when the target queue is not the ... The network adapter's transmit descriptor ring ... whether coalescing that locking with existing driver locking makes ... The whole point of the IFF_OACTIVE flag is to suppress the call to the ...
    (freebsd-net)
  • Re: wave api callback mechanism
    ... Anwar wrote: ... > structure to "not in queue" ... the callback function passed by wave audio manager using WAVEOPENDESC ... structure and just before that I also set the flag of the WAVEHDR ...
    (microsoft.public.windowsce.platbuilder)