IMiniportWaveRTStreamNotification 介面 (portcls.h)
Windows Vista 和更新版本的 Windows作系統支援 IMiniportWaveRTStreamNotification
介面,並增強 IMiniportWaveRTStream 介面,提供額外的方法來協助 DMA 驅動程式事件通知。
若要存取 IMiniportWaveRTStreamNotification
介面,WaveRT 埠驅動程式 呼叫 IMiniportWaveRT::NewStream 方法,並接收 IMiniportWaveRTStream 介面。 然後,WaveRT 埠驅動程式會使用 QueryInterface 查詢 IMiniportWaveRTStream 介面,並接收 IMiniportWaveRTStreamNotification
介面。
IMiniportWaveRTStreamNotification
繼承自 IUnknown 介面。
遺產
IMiniportWaveRTStreamNotification 介面繼承自 IMiniportWaveRTStream 介面。
方法
IMiniportWaveRTStreamNotification 介面具有這些方法。
IMiniportWaveRTStreamNotification::AllocateBufferWithNotification 當您想要實作 DMA 驅動事件通知時,AllocateAudioBufferWithNotification 方法會配置音頻數據的循環緩衝區。 如果您不想要事件通知,則必須使用 IMiniportWaveRTStream::AllocateAudioBuffer。 |
IMiniportWaveRTStreamNotification::FreeBufferWithNotification FreeBufferWithNotification 方法可用來釋放先前使用 IMiniportWaveRTStreamNotification::AllocateBufferWithNotification 呼叫所配置的音頻緩衝區。 |
IMiniportWaveRTStreamNotification::RegisterNotificationEvent RegisterNotificationEvent 方法會註冊要收到 DMA 驅動事件通知的事件。 |
IMiniportWaveRTStreamNotification::UnregisterNotificationEvent UnregisterNotificationEvent 方法會從 DMA 驅動事件通知取消註冊事件。 |
要求
要求 | 價值 |
---|---|
目標平臺 | 窗戶 |
標頭 | portcls.h |