IMMXboxNotificationClient::OnChannelCountsChanged Method

This implementation will be called if the HDMI or SPDIF modes change. For example, the HDMI cable is removed from the TV and plugged into a 7.1 A/V receiver.

Syntax

public:
HRESULT OnChannelCountsChanged(
         UINT HdmiChannelCount,
         UINT SpdifChannelCount
)  

Parameters

HdmiChannelCount
Type: UINT 

The updated HDMI channel count.

SpdifChannelCount
Type: UINT 

The updated SPDIF channel count.

Return value

Type: HRESULT 

A success or error code.

Refer to WASAPI error codes.

Requirements

Header: Declared in mmdeviceapi.h.

Library: Use MMDevApi.lib.

See also

IMMXboxNotificationClient

IMMXboxNotificationClient Members