IAudioStateMonitor 介面
提供方法,讓桌面應用程式和遊戲探索其音訊串流的音量層級何時被系統修改。這包括下列案例:- 得知遊戲媒體串流何時因為音訊應用程式正在背景中播放而被靜音,或
- 得知何時因為 VOIP 通話已在背景中開始而應停止遊戲聊天音訊串流。
- 遊戲媒體串流因為音訊應用程式正在背景中播放而被靜音的時間
- 因為 VoIP 通話已在背景中開始而應停止遊戲聊天音訊串流的時間
成員
IAudioStateMonitor 介面繼承自 IUnknown 介面,但也具有下列類型的成員:方法
IAudioStateMonitor 介面具有下列方法:備註
若要取得此介面的執行個體,請呼叫下列其中一個方法:- CreateCaptureAudioStateMonitor
- CreateCaptureAudioStateMonitorForCategory
- CreateCaptureAudioStateMonitorForCategoryAndDeviceId
- CreateCaptureAudioStateMonitorForCategoryAndDeviceRole
- CreateRenderAudioStateMonitor
- CreateRenderAudioStateMonitorForCategory
- CreateRenderAudioStateMonitorForCategoryAndDeviceId
- CreateRenderAudioStateMonitorForCategoryAndDeviceRole
