[wdmaudiodev] AVStream driver: Filter dispatch methods & automation methods synchronization

  • From: Alexander Ivash <elderorb@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 20 Jun 2016 12:06:16 +0300

Is any kind of synchronization required between KSMethod which I'm
using to pass the data into ringbuffer and Filter::Process which
consumes the data from that ringbuffer?

Right after introducing ring buffer (without any locks inside) I was
pretty sure I'll get a BSOD instantly but for some reasons I haven't.
Does it mean AVStream framework synchronizes calls internally or this
is just coincidence? Is there any docs on this topic? If
synchronization is still required, what is the proper object for such
a case?

Also, in the case of several filters, how Filter::Process gets
executed: sequentially or 'in parallel' ?

I beg pardon for wrong terminology, not sure 'threading' is applied
here, but I hope my questions are clear.

Regards, Alexander
******************

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.com/

Other related posts: