[wdmaudiodev] WaveRT event

  • From: Gilbert Passador <passador@xxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 12 Jul 2018 10:59:09 +0200

Hi,

I have a question regarding miniwavertstream.cpp sample driver provided
with Windows Driver Kit.

The RegisterNotificationEvent method appends the provided event to
m_NotificationList.
The TimerNotifyRT method notifies all events of m_NotificationList.
What is the reason of such a behaviour ?

When two notifications are wanted (see AllocateBufferWithNotification), it
means the application cannot distinguish a notification from the first part
of the buffer from a notification of the second part.
On the other end, when dealing the wavecyclic or wavepci this is possible
with the overlapped structure.
Am I missing something ?

Thank you

Gilbert

Other related posts: