Re: wave api callback mechanism




Can you show the code part where you are
changing flags and calling callback?


--
Oleg


Anwar wrote:
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: Kernel RCU: shrink the size of the struct rcu_head
    ... struct rcu_head by removing the function pointer. ... This typically keeps the size of the information to encode per callback ... with the pointers on this queue encoded to save space, ... RCU read-side critical section.) ...
    (Linux-Kernel)
  • Re: Kernel RCU: shrink the size of the struct rcu_head
    ... struct rcu_head by removing the function pointer. ... This typically keeps the size of the information to encode per callback ... with the pointers on this queue encoded to save space, ... RCU read-side critical section.) ...
    (Linux-Kernel)
  • 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: Kernel RCU: shrink the size of the struct rcu_head
    ... struct rcu_head by removing the function pointer. ... This typically keeps the size of the information to encode per callback ... with the pointers on this queue encoded to save space, ... RCU read-side critical section.) ...
    (Linux-Kernel)
  • 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)

Quantcast